diff options
author | David Robillard <d@drobilla.net> | 2020-08-04 16:07:48 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-06 17:34:19 +0200 |
commit | 18c8af55e63653c74d58137cd12434f1213f4230 (patch) | |
tree | 902c20f451ab01b30f91d218a9a291fb3190b085 /src/util.c | |
parent | dd521d78d1959d694e6e5a565a37e9693756cb00 (diff) | |
download | lilv-18c8af55e63653c74d58137cd12434f1213f4230.tar.gz lilv-18c8af55e63653c74d58137cd12434f1213f4230.tar.bz2 lilv-18c8af55e63653c74d58137cd12434f1213f4230.zip |
Rename some filename utilities for clarity
Loosely inspired by Python and the std::filesystem API.
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -264,7 +264,7 @@ update_latest(const char* path, const char* name, void* data) char* lilv_get_latest_copy(const char* path, const char* copy_path) { - char* copy_dir = lilv_dirname(copy_path); + char* copy_dir = lilv_path_parent(copy_path); Latest latest = { lilv_strjoin(copy_path, ".%u", NULL), 0, NULL }; struct stat st; |