gbox-sdk
    Preparing search index...
    interface WriteFile {
        content: string;
        path: string;
        workingDir?: string;
    }
    Index

    Properties

    content: string

    Content of the file (Max size: 512MB)

    path: string

    Target path in the box. If the path does not start with '/', the file will be written relative to the working directory. Creates necessary directories in the path if they don't exist. If the target path already exists, the write will fail.

    workingDir?: string

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