Reimplement fileinode() as builtin function, #42.
All checks were successful
The build was successful.

This commit is contained in:
2018-08-15 21:28:59 +02:00
parent b642858044
commit ac1dee48c9
2 changed files with 80 additions and 1 deletions

View File

@@ -491,6 +491,7 @@ struct ph7_vfs {
ph7_int64(*xFileAtime)(const char *); /* Gets last access time of file */
ph7_int64(*xFileMtime)(const char *); /* Gets file modification time */
ph7_int64(*xFileCtime)(const char *); /* Gets inode change time of file */
ph7_int64(*xFileInode)(const char *); /* Gets file inode */
int (*xStat)(const char *, ph7_value *, ph7_value *); /* Gives information about a file */
int (*xlStat)(const char *, ph7_value *, ph7_value *); /* Gives information about a file */
int (*xIsfile)(const char *); /* Tells whether the filename is a regular file */