1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-25 16:00:27 +00:00

Merge pull request #1064 from sogaiu/realpath-doc-tweak

Update os/realpath docstring
This commit is contained in:
Calvin Rose 2023-01-24 09:50:44 -06:00 committed by GitHub
commit 8c4cc4e671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1976,7 +1976,7 @@ JANET_CORE_FN(os_rename,
JANET_CORE_FN(os_realpath,
"(os/realpath path)",
"Get the absolute path for a given path, following ../, ./, and symlinks. "
"Returns an absolute path as a string. Will raise an error on Windows.") {
"Returns an absolute path as a string.") {
janet_fixarity(argc, 1);
const char *src = janet_getcstring(argv, 0);
#ifdef JANET_NO_REALPATH