|
@@ -320,10 +320,6 @@ int lfs_remove(lfs_t *lfs, const char *path);
|
|
|
// If the destination exists, it must match the source in type.
|
|
// If the destination exists, it must match the source in type.
|
|
|
// If the destination is a directory, the directory must be empty.
|
|
// If the destination is a directory, the directory must be empty.
|
|
|
//
|
|
//
|
|
|
-// Note: If power loss occurs, it is possible that the file or directory
|
|
|
|
|
-// will exist in both the oldpath and newpath simultaneously after the
|
|
|
|
|
-// next mount.
|
|
|
|
|
-//
|
|
|
|
|
// Returns a negative error code on failure.
|
|
// Returns a negative error code on failure.
|
|
|
int lfs_rename(lfs_t *lfs, const char *oldpath, const char *newpath);
|
|
int lfs_rename(lfs_t *lfs, const char *oldpath, const char *newpath);
|
|
|
|
|
|