mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 09:47:17 +00:00
:octal-permissions -> :int-permissions (#347)
This commit is contained in:
parent
6cb0e0dcea
commit
8a89e50c13
@ -1063,7 +1063,7 @@ static const struct OsStatGetter os_stat_getters[] = {
|
|||||||
{"dev", os_stat_dev},
|
{"dev", os_stat_dev},
|
||||||
{"inode", os_stat_inode},
|
{"inode", os_stat_inode},
|
||||||
{"mode", os_stat_mode},
|
{"mode", os_stat_mode},
|
||||||
{"octal-permissions", os_stat_int_permissions},
|
{"int-permissions", os_stat_int_permissions},
|
||||||
{"permissions", os_stat_permissions},
|
{"permissions", os_stat_permissions},
|
||||||
{"uid", os_stat_uid},
|
{"uid", os_stat_uid},
|
||||||
{"gid", os_stat_gid},
|
{"gid", os_stat_gid},
|
||||||
@ -1289,7 +1289,7 @@ static const JanetReg os_cfuns[] = {
|
|||||||
" only that information from stat. If the file or directory does not exist, returns nil. The keys are\n\n"
|
" only that information from stat. If the file or directory does not exist, returns nil. The keys are\n\n"
|
||||||
"\t:dev - the device that the file is on\n"
|
"\t:dev - the device that the file is on\n"
|
||||||
"\t:mode - the type of file, one of :file, :directory, :block, :character, :fifo, :socket, :link, or :other\n"
|
"\t:mode - the type of file, one of :file, :directory, :block, :character, :fifo, :socket, :link, or :other\n"
|
||||||
"\t:octal-permissions - A Unix permission integer like 8r744\n"
|
"\t:int-permissions - A Unix permission integer like 8r744\n"
|
||||||
"\t:permissions - A Unix permission string like \"rwxr--r--\"\n"
|
"\t:permissions - A Unix permission string like \"rwxr--r--\"\n"
|
||||||
"\t:uid - File uid\n"
|
"\t:uid - File uid\n"
|
||||||
"\t:gid - File gid\n"
|
"\t:gid - File gid\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user