UNPKG

@cuba-platform/front-generator

Version:
11 lines (10 loc) 542 B
/// <reference types="node" /> import * as fs from 'fs'; import FileSystem from '../adapters/fs'; import { StrictOptions } from '../managers/options'; export declare function sync(fsAdapter: FileSystem<fs.Stats>, path: fs.PathLike, options: StrictOptions): fs.Stats; export declare function async(fsAdapter: FileSystem<Promise<fs.Stats>>, path: fs.PathLike, options: StrictOptions): Promise<fs.Stats>; /** * Returns `true` for followed symlink. */ export declare function isFollowedSymlink(stat: fs.Stats, options: StrictOptions): boolean;