Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97914405
fs.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jan 7, 12:36
Size
665 B
Mime Type
text/x-java
Expires
Thu, Jan 9, 12:36 (2 d)
Engine
blob
Format
Raw Data
Handle
23439664
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
fs.d.ts
View Options
/// <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;
Event Timeline
Log In to Comment