Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
665 B
13 lines
665 B
/// <reference types="node" />
|
|
import * as fs from 'fs';
|
|
import type { ErrnoException } from '../types';
|
|
export declare type StatAsynchronousMethod = (path: string, callback: (error: ErrnoException | null, stats: fs.Stats) => void) => void;
|
|
export declare type StatSynchronousMethod = (path: string) => fs.Stats;
|
|
export interface FileSystemAdapter {
|
|
lstat: StatAsynchronousMethod;
|
|
stat: StatAsynchronousMethod;
|
|
lstatSync: StatSynchronousMethod;
|
|
statSync: StatSynchronousMethod;
|
|
}
|
|
export declare const FILE_SYSTEM_ADAPTER: FileSystemAdapter;
|
|
export declare function createFileSystemAdapter(fsMethods?: Partial<FileSystemAdapter>): FileSystemAdapter;
|
|
|