diff options
author | David Robillard <d@drobilla.net> | 2020-08-06 16:36:59 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-06 21:35:16 +0200 |
commit | 1dd3439bb66eae7b61a3ce22b72ae8668fec1b58 (patch) | |
tree | 24e954d205a691cae8ba3ccfb3da64a184ea247e /src/filesystem.h | |
parent | db8a69a52e6dd5c9529537fb1e17489ee883e48c (diff) | |
download | lilv-1dd3439bb66eae7b61a3ce22b72ae8668fec1b58.tar.gz lilv-1dd3439bb66eae7b61a3ce22b72ae8668fec1b58.tar.bz2 lilv-1dd3439bb66eae7b61a3ce22b72ae8668fec1b58.zip |
Add lilv_remove()
Diffstat (limited to 'src/filesystem.h')
-rw-r--r-- | src/filesystem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/filesystem.h b/src/filesystem.h index f5ac35c..14f25d7 100644 --- a/src/filesystem.h +++ b/src/filesystem.h @@ -147,6 +147,10 @@ lilv_create_temporary_directory(const char* pattern); int lilv_create_directories(const char* dir_path); +/// Remove the file or empty directory at `path` +int +lilv_remove(const char* path); + /// Return true iff the given paths point to files with identical contents bool lilv_file_equals(const char* a_path, const char* b_path); |