fio: introduce utime function
Closes #4323 @TarantoolBot document Title: fio.utime fio.utime (filepath [, atime [, mtime]]) Set access and modification times of a file. The first argument is the filename, the second argument (atime) is the access time, and the third argument (mtime) is the modification time. Both times are provided in seconds since the epoch. If the modification time is omitted, the access time provided is used; if both times are omitted, the current time is used.
Showing
- src/lib/core/coio_file.c 8 additions, 0 deletionssrc/lib/core/coio_file.c
- src/lib/core/coio_file.h 1 addition, 0 deletionssrc/lib/core/coio_file.h
- src/lua/fio.c 9 additions, 1 deletionsrc/lua/fio.c
- src/lua/fio.lua 22 additions, 0 deletionssrc/lua/fio.lua
- test/app/fio.result 100 additions, 4 deletionstest/app/fio.result
- test/app/fio.test.lua 29 additions, 1 deletiontest/app/fio.test.lua
Loading
Please register or sign in to comment