MCPcopy Create free account
hub / github.com/GCWing/BitFun / rename

Function rename

src/web-ui/src/features/ssh-remote/sshApi.ts:166–172  ·  view source on GitHub ↗

* Rename/move remote file or directory

(
    connectionId: string,
    oldPath: string,
    newPath: string
  )

Source from the content-addressed store, hash-verified

164 * Rename/move remote file or directory
165 */
166 async rename(
167 connectionId: string,
168 oldPath: string,
169 newPath: string
170 ): Promise<void> {
171 return api.invoke('remote_rename', { connectionId, oldPath, newPath });
172 },
173
174 /**
175 * Download a remote file to a local filesystem path (desktop; binary-safe).

Callers 14

rename_file_to_datedMethod · 0.85
save_jsonMethod · 0.85
load_model_statsMethod · 0.85
move_legacy_pathFunction · 0.85
move_path_best_effortFunction · 0.85
move_fileMethod · 0.85
dispatch_fsFunction · 0.85

Calls 1

invokeMethod · 0.65

Tested by

no test coverage detected