minigame-std
    Preparing search index...

    Namespace fs

    文件系统操作模块,提供同步和异步的文件读写、目录操作等功能。

    Namespaces

    opfs

    Interfaces

    DownloadFileOptions
    ReadOptions
    StatOptions
    UploadFileOptions

    Type Aliases

    FileEncoding
    ReadFileContent
    UnionDownloadFileOptions
    UnionUploadFileOptions
    WriteFileContent
    ZipFromUrlOptions

    Functions

    appendFile
    appendFileSync
    copy
    copySync
    downloadFile
    emptyDir
    emptyDirSync
    exists
    existsSync
    mkdir
    mkdirSync
    move
    moveSync
    readDir
    readDirSync
    readFile
    readFileSync
    readJsonFile
    readJsonFileSync
    readTextFile
    readTextFileSync
    remove
    removeSync
    stat
    statSync
    unzip
    unzipFromUrl
    unzipSync
    uploadFile
    writeFile
    writeFileSync
    writeJsonFile
    writeJsonFileSync
    zip
    zipFromUrl
    zipSync