Skip to content

DiffRemoteTreesOptions

Defined in: src/sync/diffRemoteTrees.ts:58

Options accepted by diffRemoteTrees.

PropertyTypeDescriptionDefined in
compareModifiedAt?booleanWhether modification timestamps participate in the comparison. Defaults to true.src/sync/diffRemoteTrees.ts:73
compareSize?booleanWhether sizes participate in the comparison. Defaults to true.src/sync/diffRemoteTrees.ts:75
compareUniqueId?booleanWhether to require matching uniqueId checksums when both entries expose one. Defaults to false.src/sync/diffRemoteTrees.ts:77
destinationFilter?RemoteTreeFilterFilter applied only to the destination side. Overrides walk.filter when set.src/sync/diffRemoteTrees.ts:67
includeUnchanged?booleanWhether unchanged entries are included in entries. Defaults to false.src/sync/diffRemoteTrees.ts:69
modifiedAtToleranceMs?numberTolerance in milliseconds when comparing modification timestamps. Defaults to 1000.src/sync/diffRemoteTrees.ts:71
signal?AbortSignalOptional abort signal threaded through both walks.src/sync/diffRemoteTrees.ts:79
sourceFilter?RemoteTreeFilterFilter applied only to the source side. Overrides walk.filter when set.src/sync/diffRemoteTrees.ts:65
walk?Pick<WalkRemoteTreeOptions, | "filter" | "recursive" | "followSymlinks" | "includeDirectories" | "includeFiles" | "maxDepth">Optional traversal controls applied to both sides.src/sync/diffRemoteTrees.ts:60