-
Notifications
You must be signed in to change notification settings - Fork 42
Labels
A-ClientArea: Parsec desktop applicationArea: Parsec desktop applicationA-NativeA-WebArea: Web-related issueArea: Web-related issueI-RustImpact: Rust-related stuffImpact: Rust-related stuff
Description
This will be notably used by archive_device since it only need to change the file extension of the device file.
pub async fn rename_file(old: &Path, new: &Path) -> Result<(), RenameFileError> {
todo!()
}Error:
- StorageNotAvailable
- InvalidParent (Parent is not a folder)
- InvalidPath (Malformated path e.g: missing filename)
- NotFound (
oldnot found, or new parent is missing) - Internal (other specific errors)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-ClientArea: Parsec desktop applicationArea: Parsec desktop applicationA-NativeA-WebArea: Web-related issueArea: Web-related issueI-RustImpact: Rust-related stuffImpact: Rust-related stuff