diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-11-01 13:06:47 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-03-30 22:31:30 +0200 |
commit | dba5a02426d942fa5a1a8be83a9f198a5f413d4b (patch) | |
tree | 31249e1196c8b43f4a84036b550d20b399b9dd8e /include | |
parent | 2b84065a0f82e71e3f82fcd3148daa29f35a6597 (diff) |
Add a rudimentary unit test for sort files
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r-- | include/fstree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fstree.h b/include/fstree.h index 9868e8e..aa8efd5 100644 --- a/include/fstree.h +++ b/include/fstree.h @@ -195,6 +195,9 @@ tree_node_t *fstree_add_generic(fstree_t *fs, const char *path, int fstree_from_file(fstree_t *fs, const char *filename, const char *basepath); +int fstree_from_file_stream(fstree_t *fs, istream_t *file, + const char *basepath); + /* This function performs all the necessary post processing steps on the file system tree, i.e. recursively sorting all directory entries by name, |