summaryrefslogtreecommitdiffstats
path: root/stat.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-08-29 23:45:45 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-08-29 23:45:45 -0400
commit57eeb5374fc6468846683576c9c81859367bbf8a (patch)
tree9e6f1a849dc4d1fbf5a93f8b2d83fb8fddd19d1e /stat.h
parenta30b3f503bede87043262343ed26d6995b0a85d9 (diff)
downloadbfs-57eeb5374fc6468846683576c9c81859367bbf8a.tar.xz
stat: New BFS_STAT_NOSYNC flag
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stat.h b/stat.h
index 4e4cbaf..369ac4a 100644
--- a/stat.h
+++ b/stat.h
@@ -69,6 +69,8 @@ enum bfs_stat_flag {
BFS_STAT_NOFOLLOW = 1 << 0,
/** Try to follow symlinks, but fall back to the link itself if broken. */
BFS_STAT_TRYFOLLOW = 1 << 1,
+ /** Try to use cached values without synchronizing remote filesystems. */
+ BFS_STAT_NOSYNC = 1 << 2,
};
#ifdef DEV_BSIZE