Hierarchy

Constructors

Properties

path: string[]

Methods

  • Returns true if the file matches what is expected.

    Parameters

    • Optional chk: {
          sha1?: string | string[];
          size?: number;
      }
      • Optional sha1?: string | string[]
      • Optional size?: number

    Returns boolean

  • Returns a hash of all the sub files in a folder

    Parameters

    • Optional algorithm: string

    Returns string

  • Checks if a directory or file is in a relative or absolute state

    Returns boolean

  • Creates a system link to a set file or directory using this file or folder as the the placeholder for the link (similar to linkTo)

    Parameters

    Returns void

  • Creates a system link to this file and puts the link at the destination file that was provided as input (similar to linkFrom)

    Parameters

    Returns void

  • Checks if an expected hash matches with this object. (@see getHash)

    Parameters

    • expected: string | string[]

    Returns boolean

  • Checks if the size value given matches with this object. (@see getSize)

    Parameters

    • expected: number

    Returns boolean

Generated using TypeDoc