Skip to content
Snippets Groups Projects
Commit 3e5326e0 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Correct JSDOCS for get_path, get_size, and get_time methods

These methods also (optionally) accept a file-meta-object as an argument.
parent f2858ee6
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -1642,17 +1642,17 @@ static jsSyncMethodSpec js_filebase_functions[] = {
,31900
},
{"get_path", js_get_file_path, 1, JSTYPE_STRING
,JSDOCSTR("filename")
,JSDOCSTR("filename or file-meta-object")
,JSDOCSTR("get the full path to the local file")
,31900
},
{"get_size", js_get_file_size, 1, JSTYPE_NUMBER
,JSDOCSTR("filename")
,JSDOCSTR("filename or file-meta-object")
,JSDOCSTR("get the size of the local file, in bytes, or -1 if it does not exist")
,31900
},
{"get_time", js_get_file_time, 1, JSTYPE_NUMBER
,JSDOCSTR("filename")
,JSDOCSTR("filename or file-meta-object")
,JSDOCSTR("get the modification date/time stamp of the local file")
,31900
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment