mise API - v0.0.0
    Preparing search index...

    Function files_move

    • Moves a file or directory by updating its path on the server.

      For directories, this performs a server-side rename without data transfer. For files, the file ID is resolved and the path is updated.

      Parameters

      • srcPath: string

        The source file or directory path.

      • destPath: string

        The target path. If an existing directory or trailing slash is provided, the source basename is appended.

      Returns Promise<boolean>

      Promise resolving to true on success, false on failure.