From d40f2ca3498592c2ffcb6de82642dfcb5a6f301d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 5 Aug 2020 23:35:07 +0200 Subject: Add lilv_is_directory() --- src/filesystem.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/filesystem.h') diff --git a/src/filesystem.h b/src/filesystem.h index b43e394..09b8b5f 100644 --- a/src/filesystem.h +++ b/src/filesystem.h @@ -77,6 +77,10 @@ lilv_path_canonical(const char* path); bool lilv_path_exists(const char* path); +/// Return true iff `path` points to an existing directory +bool +lilv_is_directory(const char* path); + /** Copy the file at path `src` to path `dst`. -- cgit v1.2.1