Fs
Fs.access(mode, path)
Type Definition
let access: (~mode: accessPermission=?, string) => Node.t(unit);
Usage
Fs.accessSync(mode, path)
Type Definition
let accessSync: (~mode: accessPermission=?, string) => unit;
Usage
Fs.appendFile(file, data, options)
Type Definition
let appendFile: (~file: 'a, ~data: 'b, ~options: 'c) => unit;
Usage
*Fs.appendFile needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.appendFileSync(file, data, options)
Type Definition
let appendFileSync: (~file: 'a, ~data: 'b, ~options: 'c) => unit;
Usage
*Fs.appendFileSync needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.chmod(path, mode)
Type Definition
let chmod: (~path: string, ~mode: asyncFilePerm) => Node.t(unit);
Usage
Fs.chmodSync(path, mode)
Type Definition
let chmodSync: (~path: string, ~mode: syncFilePerm) => unit;
Usage
Fs.chown(path, uid, gid)
Type Definition
let chown: (~path: string, ~uid: int, ~gid: int) => Node.t(unit);
Usage
Fs.chownSync(path, uid, gid)
Type Definition
let chownSync: (~path: string, ~uid: int, ~gid: int) => unit;
Usage
Fs.close(fd)
Type Definition
let close: asyncFileDescr => Node.t(unit);
Usage
Fs.closeSync(fd)
Type Definition
let closeSync: syncFileDescr => unit;
Usage
Fs.createReadStream(path, options)
Type Definition
Usage
*Fs.createReadStream needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.createWriteStream(path, options)
Type Definition
Usage
*Fs.createWriteStream needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.fchmod(fd, mode)
Type Definition
let fchmod: (~fd: asyncFileDescr, ~mode: asyncFilePerm) => Node.t(unit);
Usage
Fs.fchmodSync(fd, mode)
Type Definition
let fchmodSync: (~fd: syncFileDescr, ~mode: syncFilePerm) => unit;
Usage
Fs.fchown(fd, uid, gid)
Type Definition
let fchown: (~fd: asyncFileDescr, ~uid: int, ~gid: int) => Node.t(unit);
Usage
Fs.fchownSync(fd, uid, gid)
Type Definition
let fchownSync: (~fd: syncFileDescr, ~uid: int, ~gid: int) => unit;
Usage
Fs.fdatasync(fd)
Type Definition
let fdatasync: asyncFileDescr => Node.t(unit);
Usage
Fs.fdatasyncSync(fd)
Type Definition
Usage
*Fs.fdatasyncSync needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.fstat(fd)
Type Definition
let fstat: asyncFileDescr => Node.t(asyncStats);
Usage
Fs.fstatSync(fd)
Type Definition
let fstatSync: syncFileDescr => syncStats;
Usage
Fs.fsync(fd)
Type Definition
let fsync: asyncFileDescr => Node.t(unit);
Usage
Fs.fsyncSync(fd)
Type Definition
let fsyncSync: syncFileDescr => unit;
Usage
*Fs.fsyncSync needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.ftruncate(len, fd)
Type Definition
let ftruncate: (~len: int=?, Lwt_unix.file_descr) => Node.t(unit);
Usage
Fs.ftruncateSync(len, fd)
Type Definition
let ftruncateSync: (~len: int=?, Unix.file_descr) => unit;
Usage
Fs.futimes(fd, atime, mtime)
Type Definition
let futimes: (~fd: asyncFileDescr, ~atime: 'a, ~mtime: 'b) => unit;
Usage
*Fs.futimes needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.futimesSync(fd, atime, mtime)
Type Definition
let futimesSync: (~fd: syncFileDescr, ~atime: 'a, ~mtime: 'b) => unit;
Usage
*Fs.futimesSync needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.lchmod(path, mode)
Type Definition
let lchmod: (~path: string, ~mode: 'a) => unit;
Usage
*Fs.lchmod needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.lchmodSync(path, mode)
Type Definition
let lchmodSync: (~path: string, ~mode: 'a) => unit;
Usage
*Fs.lchmodSync needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.lchown(path, uid, gid)
Type Definition
let lchown: (~path: string, ~uid: int, ~gid: int) => unit;
Usage
*Fs.lchown needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.lchownSync(path, uid, gid
)
Type Definition
let lchownSync: (~path: string, ~uid: int, ~gid: int) => unit;
Usage
*Fs.lchownSync needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.link(existingPath, newPath)
Type Definition
let link: (~existingPath: string, ~newPath: string) => Node.t(unit);
Usage
Fs.linkSync(existingPath, newPath)
Type Definition
let linkSync: (~existingPath: string, ~newPath: string) => unit;
Usage
Fs.lstat(path)
Type Definition
let lstat: string => Node.t(asyncStats);
Usage
Fs.lstatSync(path)
Type Definition
let lstatSync: string => syncStats;
Usage
Fs.mkdir(mode, path)
Type Definition
let mkdir: (~mode: Lwt_unix.file_perm=?, string) => Node.t(unit);
Usage
Fs.mkdirSync(mode, path)
Type Definition
let mkdirSync: (~mode: syncFilePerm=?, string) => unit;
Usage
Fs.mkdtemp(prefix, options)
Type Definition
let mkdtemp: (~prefix: 'a, ~options: 'b) => unit;
Usage
*Fs.mkdtemp needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.mkdtempSync(prefix, options)
Type Definition
let mkdtempSync: (~prefix: 'a, ~options: 'b) => unit;
Usage
*Fs.mkdtempSync needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs._open(flags, mode, path)
Type Definition
let _open:
(~flags: list(asyncOpenFlag), ~mode: asyncFilePerm=?, string) =>
Node.t(asyncFileDescr);
Usage
Fs.openSync(flags, mode, path)
Type Definition
let openSync:
(~flags: list(syncOpenFlag), ~mode: syncFilePerm=?, string) => syncFileDescr;
Usage
Fs.read(fd, buffer, offset, length)
Type Definition
let read:
(~fd: asyncFileDescr, ~buffer: bytes, ~offset: int, ~length: int) =>
Node.t(int);
Usage
Fs.readSync(fd, buffer, offset, length)
Type Definition
let readSync:
(~fd: syncFileDescr, ~buffer: bytes, ~offset: int, ~length: int) => int;
Usage
Fs.readdir(path)
Type Definition
let readdir: asyncDirHandle => Node.t(string);
Usage
Fs.readdirSync(path)
Type Definition
let readdirSync: syncDirHandle => string;
Usage
Fs.readFile(file, options)
Type Definition
let readFile: (~path: string, ~options: 'a) => unit;
Usage
*Fs.readFile needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.readFileSync(path, options)
Type Definition
let readFileSync: (~path: 'a, ~options: 'b) => unit;
Usage
*Fs.readFileSync needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.readlink(path)
Type Definition
let readLink: string => Node.t(string);
Usage
Fs.readlinkSync(path)
Type Definition
let readLinkSync: string => string;
Usage
Fs.realpath(path, options)
Type Definition
let realpath: (~path: string, ~options: 'a) => unit;
Usage
*Fs.realpath needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.realpathSync(path, options)
Type Definition
let realpathSync: (~path: 'a, ~options: 'b) => unit;
Usage
*Fs.realpathSync needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.rename(oldPath, newPath)
Type Definition
let rename: (~oldPath: string, ~newPath: string) => Node.t(unit);
Usage
Fs.renameSync(oldPath, newPath)
Type Definition
let renameSync: (~oldPath: string, ~newPath: string) => unit;
Usage
Fs.rmdir(path)
Type Definition
let rmdir: string => Node.t(unit);
Usage
Fs.rmdirSync(path)
Type Definition
let rmdirSync: string => unit;
Usage
Fs.stat(path)
Type Definition
let stat: string => Node.t(asyncStats);
Usage
Fs.statSync(path)
Type Definition
let statSync: string => syncStats;
Usage
Fs.symlink(target, path)
Type Definition
let symlink: (~target: string, ~path: string) => Node.t(unit);
Usage
Fs.symlinkSync(target, path)
Type Definition
let symlinkSync: (~target: string, ~path: string) => unit;
Usage
Fs.truncate(len, path)
Type Definition
let truncate: (~len: int=?, string) => Node.t(unit);
Usage
Fs.truncateSync(len, path)
Type Definition
let truncateSync: (~len: int=?, string) => unit;
Usage
Fs.unlink(path)
Type Definition
let unlink: string => Node.t(unit);
Usage
Fs.unlinkSync(path)
Type Definition
let unlinkSync: string => unit;
Usage
Fs.unwatchFile(filename, listener)
Type Definition
let unwatchFile: (~filename: 'a, ~listener: 'b) => unit;
Usage
*Fs.unwatchFile needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.utimes(path, atime, mtime)
Type Definition
let utimes: (~path: string, ~atime: float, ~mtime: float) => Node.t(unit);
Usage
Fs.utimesSync(path atime mtime)
Type Definition
let utimesSync: (~path: string, ~atime: float, ~mtime: float) => unit;
Usage
Fs.watch(filename, options, listener)
Type Definition
let watch: (~filename: 'a, ~options: 'b, ~listener: 'c) => unit;
Usage
*Fs.watch needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.watchFile(filename, options, listener)
Type Definition
let watchFile: (~filename: 'a, ~options: 'b, ~listener: 'c) => unit;
Usage
*Fs.watchFile needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.write(fd, buffer, offset, length)
Type Definition
let write:
(~fd: asyncFileDescr, ~buffer: bytes, ~offset: int, ~length: int) =>
Node.t(int);
Usage
Fs.writeSync(fd, buffer, offset, length)
Type Definition
let writeSync:
(~fd: syncFileDescr, ~buffer: bytes, ~offset: int, ~length: int) => int;
Usage
Fs.writeString(fd, string, offset, length)
Type Definition
let writeString:
(~fd: asyncFileDescr, ~string: string, ~offset: int, ~length: int) =>
Node.t(int);
Usage
Fs.writeStringSync(fd, string, offset, length)
Type Definition
let writeStringSync:
(~fd: syncFileDescr, ~string: string, ~offset: int, ~length: int) => int;
Usage
Fs.writeFile(file, data, options)
Type Definition
let writeFile: (~file: 'a, ~data: 'b, ~options: 'c) => unit;
Usage
*Fs.writeFile needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node
Fs.writeFileSync(file, data, options)
Type Definition
let writeFileSync: (~file: 'a, ~data: 'b, ~options: 'c) => unit;
Usage
*Fs.writeFileSync needs to be implemented*
Please open a pull request if you are interested in contributing, no code is needed, we will help answer questions and push you in the right direction.
Repo URL: https://github.com/kennetpostigo/lwt-node