Added lfsr_stat and integrated into dir tests
lfsr_stat is really a directory operation underneath, so it's good to add to our testing while we are building up the dir tests. It's interesting to note lfsr_stat and lfsr_dir_read are less deduplicatable than their previous versions, since lfsr_stat can get most of it's info from lfsr_mtree_pathlookup. Though there will probably need to be some code sharing when we get to files with sizes.
This commit is contained in:
@@ -548,6 +548,7 @@ int lfs_rename(lfs_t *lfs, const char *oldpath, const char *newpath);
|
||||
// Fills out the info structure, based on the specified file or directory.
|
||||
// Returns a negative error code on failure.
|
||||
int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info);
|
||||
int lfsr_stat(lfs_t *lfs, const char *path, struct lfs_info *info);
|
||||
|
||||
// Get a custom attribute
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user