Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bindings: Move an entry #5820

Closed
Tracked by #5137
Max-7 opened this issue Nov 17, 2023 · 0 comments · Fixed by #7107
Closed
Tracked by #5137

Bindings: Move an entry #5820

Max-7 opened this issue Nov 17, 2023 · 0 comments · Fixed by #7107
Assignees
Labels
A-Client Area: Parsec desktop application I-Rust Impact: Rust-related stuff
Milestone

Comments

@Max-7
Copy link
Contributor

Max-7 commented Nov 17, 2023

Move a file/folder to another location in the same workspace.

Something like (clientHandle: Handle, workspaceHandle: Handle, source: FsPath, destination: FsPath) -> ??
source and destination are full path to a file or folder.

If possible, I'd like a version that does as much thing as possible, meaning that for
move('/a/b/c.txt', '/e/f/g.mp3')
it:

  • /e/f/ is created if the path does not exist
  • c.txt is removed
  • g.mp3 contains the data from c.txt

If source is a folder, move the folder and its content.

We may need to add a force: boolean option to replace the dest file if it already exists.

@FirelightFlagboy FirelightFlagboy added I-Rust Impact: Rust-related stuff A-Client Area: Parsec desktop application labels Nov 17, 2023
@mmmarcos mmmarcos added this to the v3.0 milestone Feb 21, 2024
@mmmarcos mmmarcos mentioned this issue Feb 26, 2024
37 tasks
@mmmarcos mmmarcos changed the title Move an entry Bindings: Move an entry Feb 28, 2024
@mmmarcos mmmarcos modified the milestones: v3.0-beta, v3.0 Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Client Area: Parsec desktop application I-Rust Impact: Rust-related stuff
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants