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

    Module sync

    Sync engine for mirroring files between local folders and B2 buckets.

    The pipeline is: scan folders, pair files by relative path, generate actions based on comparison and keep policies, then execute with bounded concurrency.

    Classes

    B2Folder
    CopyAction
    DeleteLocalAction
    DeleteRemoteAction
    DownloadAction
    HideAction
    LocalFolder
    SkipAction
    UploadAction

    Interfaces

    ActionFactory
    B2SyncFolder
    B2SyncPath
    LocalFileIdentity
    LocalSyncFolder
    LocalSyncPath
    SyncAction
    SyncActionEvent
    SyncCompareEvent
    SyncEncryptionProvider
    SyncErrorEvent
    SyncFilterOptions
    SyncFolder
    SynchronizerB2Config
    SynchronizerConfig
    SynchronizerDownConfig
    SynchronizerUpConfig
    SyncOptions
    SyncPath
    SyncScanOptions
    SyncSha1PendingState
    SyncSha1UnavailableState
    SyncSha1UntrustedState
    SyncSha1VerifiedState
    SyncSkipEvent

    Type Aliases

    CompareMode
    KeepMode
    SupportedSynchronizerConfig
    SyncActionEventType
    SyncActionType
    SyncDirection
    SyncEvent
    SyncEventType
    SyncFilterPattern
    SyncPair
    SyncSha1State
    SyncSkipReason

    Variables

    untrustedSha1Prefix

    Functions

    asRawB2KeyPrefix
    b2KeyToRelativePathUnderPrefix
    compareSyncRelativePaths
    directoryMayContainSyncPaths
    filesAreDifferent
    filterSyncPaths
    generateActions
    isUntrustedSha1
    literalPrefixForSyncFilters
    normalizeB2RelativePath
    parseSyncContentSha1
    pathPassesSyncFilters
    pathSkippedByRegExpInputLimit
    selectB2ComparableSha1
    synchronize
    syncSha1StateOf
    untrustedSha1
    zipFolders