You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Move a file/folder to another location in the same workspace.
Something like
(clientHandle: Handle, workspaceHandle: Handle, source: FsPath, destination: FsPath) -> ??
source
anddestination
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 existc.txt
is removedg.mp3
contains the data fromc.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.The text was updated successfully, but these errors were encountered: