gbox-sdk
    Preparing search index...

    Interface FRenameParams

    interface FRenameParams {
        newPath: string;
        oldPath: string;
        workingDir?: string;
    }
    Index

    Properties

    newPath: string

    New path in the box. If the path does not start with '/', the file/directory will be renamed relative to the working directory. If the newPath already exists, the rename will fail.

    oldPath: string

    Old path in the box. If the path does not start with '/', the file/directory will be renamed relative to the working directory. If the oldPath does not exist, the rename will fail.

    workingDir?: string

    Working directory. If not provided, the file will be read from the box.config.workingDir directory.