NfsFsDirent.d.ts 439 B

1234567891011121314
  1. import type * as misc from 'memfs/lib/node/types/misc';
  2. import { Nfsv4FType } from '../constants';
  3. export declare class NfsFsDirent implements misc.IDirent {
  4. name: string;
  5. private type;
  6. constructor(name: string, type: Nfsv4FType);
  7. isDirectory(): boolean;
  8. isFile(): boolean;
  9. isBlockDevice(): boolean;
  10. isCharacterDevice(): boolean;
  11. isSymbolicLink(): boolean;
  12. isFIFO(): boolean;
  13. isSocket(): boolean;
  14. }