mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 04:46:46 -05:00
Set time of pool links
This avoid index refresh from various applications.
This commit is contained in:
parent
71c11d7ecd
commit
17bec43be2
8 changed files with 141 additions and 7 deletions
|
|
@ -322,6 +322,12 @@ int mkancestor(const char* file);
|
|||
*/
|
||||
int fmtime(int f, int64_t mtime_sec, int mtime_nsec);
|
||||
|
||||
/**
|
||||
* Change the modification time of a file or link.
|
||||
* Note that links are NOT deferenced.
|
||||
*/
|
||||
int lmtime(const char* path, int64_t mtime_sec, int mtime_nsec);
|
||||
|
||||
/****************************************************************************/
|
||||
/* advise */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue