Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SomePromiseBasedFs

Everything confyglot needs from the fs.

Hierarchy

  • SomePromiseBasedFs

Index

Methods

Methods

readFile

  • readFile(path: string, encoding: "utf8"): Promise<string>
  • Parameters

    • path: string
    • encoding: "utf8"

    Returns Promise<string>

readdir

  • readdir(path: string, options?: null | (BaseEncodingOptions & { withFileTypes?: undefined | false }) | "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex"): Promise<string[]>
  • Parameters

    • path: string
    • Optional options: null | (BaseEncodingOptions & { withFileTypes?: undefined | false }) | "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex"

    Returns Promise<string[]>

Generated using TypeDoc