Module platf.luajava
is this a directory?
Functions
path.isfile (P) | is this a file?. |
path.getsize (P) | return size of a file. |
path.exists (P) | does a path exist?. |
path.getatime (P) | Return the time of last access as the number of seconds since the epoch. |
path.getmtime (P) | Return the time of last modification |
path.getctime (P) | Return the system's ctime. |
Functions
- path.isfile (P)
-
is this a file?.
Parameters:
P
: A file path
- path.getsize (P)
-
return size of a file.
Parameters:
P
: A file path
- path.exists (P)
-
does a path exist?.
Parameters:
P
: A file path
Returns:
-
the file path if it exists, nil otherwise
- path.getatime (P)
-
Return the time of last access as the number of seconds since the epoch.
Parameters:
P
: A file path
- path.getmtime (P)
-
Return the time of last modification
Parameters:
P
: A file path
- path.getctime (P)
-
Return the system's ctime.
Parameters:
P
: A file path