]> git.ipfire.org Git - thirdparty/zstd.git/commit
Introduce Variants of Various UTIL Functions that Take Pre-Populated stat_t Structs
authorW. Felix Handte <w@felixhandte.com>
Wed, 5 Aug 2020 05:00:06 +0000 (01:00 -0400)
committerW. Felix Handte <w@felixhandte.com>
Wed, 5 Aug 2020 05:00:06 +0000 (01:00 -0400)
commit44fa052599d36b87c0e42219f05d0119d2726a5a
tree0de354695f3583127d2d05d565b3b22b624d16fe
parentb6e24bc4dc633d9596a06fc86e55dc3ff93b110e
Introduce Variants of Various UTIL Functions that Take Pre-Populated stat_t Structs

Instead of calling `stat()`, these functions accept the result of a previous
`stat()` call on the file in question, which will allow us to make multiple
decisions around a file without redundant `stat()` calls.
programs/util.c
programs/util.h