type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
FunctionDeclaration
export function lchmod(path: string, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function lchmodSync(path: string, mode: number): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function lchmodSync(path: string, mode: string): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function stat(path: string, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function lstat(path: string, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function fstat(fd: number, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function statSync(path: string): Stats;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function lstatSync(path: string): Stats;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function fstatSync(fd: number): Stats;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function link(srcpath: string, dstpath: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function linkSync(srcpath: string, dstpath: string): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function symlink(srcpath: string, dstpath: string, type?: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function symlinkSync(srcpath: string, dstpath: string, type?: string): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function readlink(path: string, callback?: (err: NodeJS.ErrnoException, linkString: string) => any): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function readlinkSync(path: string): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function realpath(path: string, callback?: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function realpath(path: string, cache: {[path: string]: string}, callback: (err: NodeJS.ErrnoException, resolvedPath: string) =>any): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function realpathSync(path: string, cache?: { [path: string]: string }): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Asynchronous unlink - deletes the file specified in {path} * * @param path * @param callback No arguments other than a possible exception are given to the completion callback. */ export function unlink(path: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Synchronous unlink - deletes the file specified in {path} * * @param path */ export function unlinkSync(path: string): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Asynchronous rmdir - removes the directory specified in {path} * * @param path * @param callback No arguments other than a possible exception are given to the completion callback. */ export function rmdir(path: string, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Synchronous rmdir - removes the directory specified in {path} * * @param path */ export function rmdirSync(path: string): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. * * @param path * @param callback No arguments other than a possible exception are given to the completion callback. */ export function mkdir(path: string, callback?: (err?: NodeJS.Errn...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. * * @param path * @param mode * @param callback No arguments other than a possible exception are given to the completion callback. */ export function mkdir(path: string, mode: num...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. * * @param path * @param mode * @param callback No arguments other than a possible exception are given to the completion callback. */ export function mkdir(path: string, mode: str...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Synchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. * * @param path * @param mode * @param callback No arguments other than a possible exception are given to the completion callback. */ export function mkdirSync(path: string, mode?:...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Synchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. * * @param path * @param mode * @param callback No arguments other than a possible exception are given to the completion callback. */ export function mkdirSync(path: string, mode?:...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function readdir(path: string, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function readdirSync(path: string): string[];
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function close(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function closeSync(fd: number): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function open(path: string, flags: string, callback?: (err: NodeJS.ErrnoException, fd: number) => any): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function open(path: string, flags: string, mode: number, callback?: (err: NodeJS.ErrnoException, fd: number) => any): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function open(path: string, flags: string, mode: string, callback?: (err: NodeJS.ErrnoException, fd: number) => any): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function openSync(path: string, flags: string, mode?: number): number;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function openSync(path: string, flags: string, mode?: string): number;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function utimes(path: string, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function utimes(path: string, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function utimesSync(path: string, atime: number, mtime: number): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function utimesSync(path: string, atime: Date, mtime: Date): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function futimes(fd: number, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function futimes(fd: number, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function futimesSync(fd: number, atime: number, mtime: number): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function futimesSync(fd: number, atime: Date, mtime: Date): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function fsync(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function fsyncSync(fd: number): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function write(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function write(fd: number, buffer: Buffer, offset: number, length: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function write(fd: number, data: any, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function write(fd: number, data: any, offset: number, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function write(fd: number, data: any, offset: number, encoding: string, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function writeSync(fd: number, buffer: Buffer, offset: number, length: number, position?: number): number;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function writeSync(fd: number, data: any, position?: number, enconding?: string): number;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function read(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, bytesRead: number, buffer: Buffer) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function readSync(fd: number, buffer: Buffer, offset: number, length: number, position: number): number;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Asynchronous readFile - Asynchronously reads the entire contents of a file. * * @param fileName * @param encoding * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. */ export function readFile(filename: string, encoding:...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Asynchronous readFile - Asynchronously reads the entire contents of a file. * * @param fileName * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer. * @param callback - The cal...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Asynchronous readFile - Asynchronously reads the entire contents of a file. * * @param fileName * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer. * @param callback - The cal...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Asynchronous readFile - Asynchronously reads the entire contents of a file. * * @param fileName * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. */ export function readFile(filename: string, callback: (err: NodeJS.ErrnoExcep...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Synchronous readFile - Synchronously reads the entire contents of a file. * * @param fileName * @param encoding */ export function readFileSync(filename: string, encoding: string): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Synchronous readFile - Synchronously reads the entire contents of a file. * * @param fileName * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer. */ export function readFi...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/* * Synchronous readFile - Synchronously reads the entire contents of a file. * * @param fileName * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer. */ export function readFi...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function writeFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function appendFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function watchFile(filename: string, listener: (curr: Stats, prev: Stats) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr: Stats, prev: Stats) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function unwatchFile(filename: string, listener?: (curr: Stats, prev: Stats) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function watch(filename: string, listener?: (event: string, filename: string) => any): FSWatcher;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function watch(filename: string, options: { persistent?: boolean; }, listener?: (event: string, filename: string) => any): FSWatcher;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function exists(path: string, callback?: (exists: boolean) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function existsSync(path: string): boolean;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** Tests a user's permissions for the file specified by path. */ export function access(path: string, callback: (err: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function access(path: string, mode: number, callback: (err: NodeJS.ErrnoException) => void): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** Synchronous version of fs.access. This throws if any accessibility checks fail, and does nothing otherwise. */ export function accessSync(path: string, mode ?: number): void;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function createReadStream(path: string, options?: { flags?: string; encoding?: string; fd?: number; mode?: number; autoClose?: boolean; }): ReadStream;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function createWriteStream(path: string, options?: { flags?: string; encoding?: string; fd?: number; mode?: number; }): WriteStream;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * Normalize a string path, reducing '..' and '.' parts. * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. * * @param p string path to normalize. */ export function normalize(p:...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * Join all arguments together and normalize the resulting path. * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. * * @param paths string paths to join. */ export function join(...paths: any[]): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * Join all arguments together and normalize the resulting path. * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. * * @param paths string paths to join. */ export function join(...paths: string[]): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. * * Starting from leftmost {from} paramter, resolves {to} to an absolute path. * * If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolut...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. * * @param path path to test. */ export function isAbsolute(path: string): boolean;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * Solve the relative path from {from} to {to}. * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. * * @param from * @param to */ export function relative(from: string, to: s...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * Return the directory name of a path. Similar to the Unix dirname command. * * @param p the path to evaluate. */ export function dirname(p: string): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * Return the last portion of a path. Similar to the Unix basename command. * Often used to extract the file name from a fully qualified path. * * @param p the path to evaluate. * @param ext optionally, an extension to remove from the result. */ export function basename(p: string,...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * Return the extension of the path, from the last '.' to end of string in the last portion of the path. * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string * * @param p the path to evaluate. */ export function extnam...
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * Returns an object from a path string - the opposite of format(). * * @param pathString path to evaluate. */ export function parse(pathString: string): ParsedPath;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
/** * Returns a path string from an object - the opposite of parse(). * * @param pathString path to evaluate. */ export function format(pathObject: ParsedPath): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function normalize(p: string): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function join(...paths: any[]): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function resolve(...pathSegments: any[]): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function isAbsolute(p: string): boolean;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript
FunctionDeclaration
export function relative(from: string, to: string): string;
ArtemAstahov/angular2-education
node_modules/@types/node/index.d.ts
TypeScript