UNPKG

@liuli-util/fs-extra

Version:

143 lines (140 loc) 8.73 kB
import fsExtra from 'fs-extra'; declare const appendFile: typeof fsExtra.appendFile; declare const appendFileSync: typeof fsExtra.appendFileSync; declare const access: typeof fsExtra.access; declare const accessSync: typeof fsExtra.accessSync; declare const chown: typeof fsExtra.chown; declare const chownSync: typeof fsExtra.chownSync; declare const chmod: typeof fsExtra.chmod; declare const chmodSync: typeof fsExtra.chmodSync; declare const close: typeof fsExtra.close; declare const closeSync: typeof fsExtra.closeSync; declare const copyFile: typeof fsExtra.copyFile; declare const copyFileSync: typeof fsExtra.copyFileSync; declare const cp: typeof fsExtra.cp; declare const cpSync: typeof fsExtra.cpSync; declare const createReadStream: typeof fsExtra.createReadStream; declare const createWriteStream: typeof fsExtra.createWriteStream; declare const exists: typeof fsExtra.exists; declare const existsSync: typeof fsExtra.existsSync; declare const fchown: typeof fsExtra.fchown; declare const fchownSync: typeof fsExtra.fchownSync; declare const fchmod: typeof fsExtra.fchmod; declare const fchmodSync: typeof fsExtra.fchmodSync; declare const fdatasync: typeof fsExtra.fdatasync; declare const fdatasyncSync: typeof fsExtra.fdatasyncSync; declare const fstat: typeof fsExtra.fstat; declare const fstatSync: typeof fsExtra.fstatSync; declare const fsync: typeof fsExtra.fsync; declare const fsyncSync: typeof fsExtra.fsyncSync; declare const ftruncate: typeof fsExtra.ftruncate; declare const ftruncateSync: typeof fsExtra.ftruncateSync; declare const futimes: typeof fsExtra.futimes; declare const futimesSync: typeof fsExtra.futimesSync; declare const lchown: typeof fsExtra.lchown; declare const lchownSync: typeof fsExtra.lchownSync; declare const lchmod: typeof fsExtra.lchmod; declare const lchmodSync: typeof fsExtra.lchmodSync; declare const link: typeof fsExtra.link; declare const linkSync: typeof fsExtra.linkSync; declare const lstat: typeof fsExtra.lstat; declare const lstatSync: fsExtra.StatSyncFn; declare const lutimes: typeof fsExtra.lutimes; declare const lutimesSync: typeof fsExtra.lutimesSync; declare const mkdir: typeof fsExtra.mkdir; declare const mkdirSync: typeof fsExtra.mkdirSync; declare const mkdtemp: typeof fsExtra.mkdtemp; declare const mkdtempSync: typeof fsExtra.mkdtempSync; declare const open: typeof fsExtra.open; declare const openSync: typeof fsExtra.openSync; declare const opendir: typeof fsExtra.opendir; declare const opendirSync: typeof fsExtra.opendirSync; declare const readdir: typeof fsExtra.readdir; declare const readdirSync: typeof fsExtra.readdirSync; declare const read: typeof fsExtra.read; declare const readSync: typeof fsExtra.readSync; declare const readv: typeof fsExtra.readv; declare const readvSync: typeof fsExtra.readvSync; declare const readFile: typeof fsExtra.readFile; declare const readFileSync: typeof fsExtra.readFileSync; declare const readlink: typeof fsExtra.readlink; declare const readlinkSync: typeof fsExtra.readlinkSync; declare const realpath: typeof fsExtra.realpath; declare const realpathSync: typeof fsExtra.realpathSync; declare const rename: typeof fsExtra.rename; declare const renameSync: typeof fsExtra.renameSync; declare const rm: typeof fsExtra.rm; declare const rmSync: typeof fsExtra.rmSync; declare const rmdir: typeof fsExtra.rmdir; declare const rmdirSync: typeof fsExtra.rmdirSync; declare const stat: typeof fsExtra.stat; declare const statSync: fsExtra.StatSyncFn; declare const symlink: typeof fsExtra.symlink; declare const symlinkSync: typeof fsExtra.symlinkSync; declare const truncate: typeof fsExtra.truncate; declare const truncateSync: typeof fsExtra.truncateSync; declare const unwatchFile: typeof fsExtra.unwatchFile; declare const unlink: typeof fsExtra.unlink; declare const unlinkSync: typeof fsExtra.unlinkSync; declare const utimes: typeof fsExtra.utimes; declare const utimesSync: typeof fsExtra.utimesSync; declare const watch: typeof fsExtra.watch; declare const watchFile: typeof fsExtra.watchFile; declare const writeFile: typeof fsExtra.writeFile; declare const writeFileSync: typeof fsExtra.writeFileSync; declare const write: typeof fsExtra.write; declare const writeSync: typeof fsExtra.writeSync; declare const writev: typeof fsExtra.writev; declare const writevSync: typeof fsExtra.writevSync; declare const Dir: typeof fsExtra.Dir; declare const Dirent: typeof fsExtra.Dirent; declare const Stats: typeof fsExtra.Stats; declare const ReadStream: typeof fsExtra.ReadStream; declare const WriteStream: typeof fsExtra.WriteStream; declare const constants: typeof fsExtra.constants; declare const promises: typeof fsExtra.promises; declare const copy: typeof fsExtra.copy; declare const copySync: typeof fsExtra.copySync; declare const emptyDirSync: typeof fsExtra.emptyDirSync; declare const emptydirSync: typeof fsExtra.emptyDirSync; declare const emptyDir: typeof fsExtra.emptyDir; declare const emptydir: typeof fsExtra.emptyDir; declare const createFile: typeof fsExtra.createFile; declare const createFileSync: typeof fsExtra.createFileSync; declare const ensureFile: typeof fsExtra.ensureFile; declare const ensureFileSync: typeof fsExtra.ensureFileSync; declare const createLink: typeof fsExtra.ensureLink; declare const createLinkSync: typeof fsExtra.ensureLinkSync; declare const ensureLink: typeof fsExtra.ensureLink; declare const ensureLinkSync: typeof fsExtra.ensureLinkSync; declare const createSymlink: typeof fsExtra.createSymlink; declare const createSymlinkSync: typeof fsExtra.createSymlinkSync; declare const ensureSymlink: typeof fsExtra.ensureSymlink; declare const ensureSymlinkSync: typeof fsExtra.ensureSymlinkSync; declare const readJson: typeof fsExtra.readJson; declare const readJsonSync: typeof fsExtra.readJsonSync; declare const writeJson: typeof fsExtra.writeJson; declare const writeJsonSync: typeof fsExtra.writeJsonSync; declare const outputJson: typeof fsExtra.outputJson; declare const outputJsonSync: typeof fsExtra.outputJsonSync; declare const outputJSON: typeof fsExtra.outputJSON; declare const outputJSONSync: typeof fsExtra.outputJSONSync; declare const writeJSON: typeof fsExtra.writeJSON; declare const writeJSONSync: typeof fsExtra.writeJSONSync; declare const readJSON: typeof fsExtra.readJSON; declare const readJSONSync: typeof fsExtra.readJSONSync; declare const mkdirs: typeof fsExtra.mkdirs; declare const mkdirsSync: typeof fsExtra.mkdirsSync; declare const mkdirp: typeof fsExtra.mkdirp; declare const mkdirpSync: typeof fsExtra.mkdirpSync; declare const ensureDir: typeof fsExtra.ensureDir; declare const ensureDirSync: typeof fsExtra.ensureDirSync; declare const move: typeof fsExtra.move; declare const moveSync: typeof fsExtra.moveSync; declare const outputFile: typeof fsExtra.outputFile; declare const outputFileSync: typeof fsExtra.outputFileSync; declare const pathExists: typeof fsExtra.pathExists; declare const pathExistsSync: typeof fsExtra.pathExistsSync; declare const remove: typeof fsExtra.remove; declare const removeSync: typeof fsExtra.removeSync; export { Dir, Dirent, ReadStream, Stats, WriteStream, access, accessSync, appendFile, appendFileSync, chmod, chmodSync, chown, chownSync, close, closeSync, constants, copy, copyFile, copyFileSync, copySync, cp, cpSync, createFile, createFileSync, createLink, createLinkSync, createReadStream, createSymlink, createSymlinkSync, createWriteStream, emptyDir, emptyDirSync, emptydir, emptydirSync, ensureDir, ensureDirSync, ensureFile, ensureFileSync, ensureLink, ensureLinkSync, ensureSymlink, ensureSymlinkSync, exists, existsSync, fchmod, fchmodSync, fchown, fchownSync, fdatasync, fdatasyncSync, fstat, fstatSync, fsync, fsyncSync, ftruncate, ftruncateSync, futimes, futimesSync, lchmod, lchmodSync, lchown, lchownSync, link, linkSync, lstat, lstatSync, lutimes, lutimesSync, mkdir, mkdirSync, mkdirp, mkdirpSync, mkdirs, mkdirsSync, mkdtemp, mkdtempSync, move, moveSync, open, openSync, opendir, opendirSync, outputFile, outputFileSync, outputJSON, outputJSONSync, outputJson, outputJsonSync, pathExists, pathExistsSync, promises, read, readFile, readFileSync, readJSON, readJSONSync, readJson, readJsonSync, readSync, readdir, readdirSync, readlink, readlinkSync, readv, readvSync, realpath, realpathSync, remove, removeSync, rename, renameSync, rm, rmSync, rmdir, rmdirSync, stat, statSync, symlink, symlinkSync, truncate, truncateSync, unlink, unlinkSync, unwatchFile, utimes, utimesSync, watch, watchFile, write, writeFile, writeFileSync, writeJSON, writeJSONSync, writeJson, writeJsonSync, writeSync, writev, writevSync };