diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-12-24 11:52:50 +0100 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-12-26 10:49:13 +0100 |
commit | 2e04b2c23c66a42372d0ecaea2b0f4b2c7b7c7e5 (patch) | |
tree | 9249bb0e9792a11bb27df78a4d93a0b3c0be0b33 /file.h | |
parent | 878cd6e8792d5ac03eea59fec9fe8e325440d50c (diff) |
delete files
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -70,6 +70,12 @@ char * file_get_basename(const struct file *); /* + * Get the parent file of the given file. Returns NULLL in case of error. + */ +struct file * +file_get_parent(const struct file *); + +/* * Build the data path (on the filesystem) for a file and optionally append * another component to the path. If no additional component is needed, it * should be NULL. |