Added support for renaming dirs/files

This commit is contained in:
Christopher Haster
2017-04-15 12:35:20 -05:00
parent 3b1bcbe851
commit bd817abb00
3 changed files with 278 additions and 2 deletions

1
lfs.h
View File

@@ -138,6 +138,7 @@ int lfs_mount(lfs_t *lfs, const struct lfs_config *config);
int lfs_unmount(lfs_t *lfs);
int lfs_remove(lfs_t *lfs, const char *path);
int lfs_rename(lfs_t *lfs, const char *oldpath, const char *newpath);
int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info);
int lfs_mkdir(lfs_t *lfs, const char *path);