diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-12-25 18:08:43 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-12-25 18:13:15 -0500 |
commit | 36cb1762dd647a6c9cbb0ab36993c83798c854f1 (patch) | |
tree | 4bc2fc1cca1400774855e0b2618b967bb9466947 /stat.h | |
parent | b2e69d3f76270fc4051801cac923307514184055 (diff) | |
download | bfs-36cb1762dd647a6c9cbb0ab36993c83798c854f1.tar.xz |
stat: Provide a helper for getting human-readable field names
And fix -newerXY if the Y time doesn't exist.
Diffstat (limited to 'stat.h')
-rw-r--r-- | stat.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -47,6 +47,11 @@ enum bfs_stat_field { }; /** + * Get the human-readable name of a bfs_stat field. + */ +const char *bfs_stat_field_name(enum bfs_stat_field field); + +/** * bfs_stat() flags. */ enum bfs_stat_flag { |