Set time of pool links

This avoid index refresh from various applications.
This commit is contained in:
Andrea Mazzoleni 2017-05-01 15:01:38 +02:00
parent 71c11d7ecd
commit 17bec43be2
8 changed files with 141 additions and 7 deletions

View file

@ -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 */