@backblaze-labs/b2-sdk - v0.1.0
    Preparing search index...

    Class SkipAction

    Represents a no-op action for files that do not need syncing.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Creates a new SkipAction for the given relative path.

      Parameters

      • relativePath: string

        Path relative to the sync root.

      • reason: string

        Human-readable explanation for why the file was skipped.

      Returns SkipAction

    Properties

    reason: string

    Human-readable explanation for why the file was skipped.

    relativePath: string

    Path relative to the sync root.

    size: 0

    Size in bytes of the file, or 0 for metadata-only actions.

    type: "skip" = ...

    The kind of action.

    Methods

    • Returns a 'skip' event with the reason message. No I/O is performed.

      Parameters

      • _dryRun: boolean

        Whether to simulate the action (unused for no-op).

      Returns Promise<SyncEvent>

      An async generator yielding sync progress events.