Crumbtrail
    Preparing search index...

    A stream that writes folders.

    Writing folders is idempotent. If the folder you are trying to write already exists, then the write operation still succeeds

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Writes to a given path.

      Parameters

      • path: PathLike

        The path to write to. If this points to a hierarchy, then all hierarchy nodes should be created.

      Returns Promise<number>

      The total number of bytes written, or 0 if buffer is falsy. If this is writing or creating directories, then 0 should be returned.

      If the path cannot be written to.