Function instantiateCorrectFsPathSubclass

  • Creates a new FsObject instance of the correct type.

    Parameters

    • absolute: string

      The absolute path to the filesystem object.

    • stat: Stats

      The fs.Stats object of the filesystem object.

    Returns AbstractFsPath

    an instance of the correct subclass of

    See

    AbstractFsPath.

Generated using TypeDoc