Options
All
  • Public
  • Public/Protected
  • All
Menu

simple-fake-fs — Reference

Index

Type aliases

Content

Content<PathElm, FileContent>: FakeFileContent<FileContent> | FakeDirectoryContent<PathElm, FileContent>

Type parameters

  • PathElm

  • FileContent

ErrorCode

ErrorCode: string & keyof typeof ErrorKind

MaybeContent

MaybeContent<PathElm, FileContent, ErrorValue>: None | ErrorCarrier<ErrorValue> | Content<PathElm, FileContent>

Type parameters

  • PathElm

  • FileContent

  • ErrorValue

StringPathFileSystemDict

StringPathFileSystemDict: {}

Type declaration

SysCall

SysCall: "stat" | "scandir" | "open" | "read" | "mkdir" | "exists"

Variables

Const EMPTY_CLASS

EMPTY_CLASS: EMPTY_CLASS = class {}

Const NONE

NONE: None = new None()

Functions

dict2entries

Generated using TypeDoc