diff --git a/src/util/virfile.c b/src/util/virfile.c index feac3c98e1f11981d82ccb52e0e410dd3f0bf8a7..a7635f45b6589470f033072ba42cdc4088582e7a 100644 --- a/src/util/virfile.c +++ b/src/util/virfile.c @@ -1477,6 +1477,12 @@ virFileIsDir(const char *path) return (stat(path, &s) == 0) && S_ISDIR(s.st_mode); } +/** + * virFileExists: Check for presence of file + * @path: Path of file to check + * + * Returns if the file exists. Preserves errno in case it does not exist. + */ bool virFileExists(const char *path) {