On this page

new Snapshot(): Snapshot
Returns:Snapshot
Attributes
children:Set<Snapshot>
contextHashes:Map<string, string | null>
contextTimestamps:Map<string, ResolvedContextFileSystemInfoEntry | null>
fileHashes:Map<string, string | null>
fileTimestamps:Map<string, FileSystemInfoEntry | null>
fileTshs:Map<string, string | TimestampAndHash | null>
managedContexts:Set<string>
managedFiles:Set<string>
managedItemInfo:Map<string, string>
managedMissing:Set<string>
missingExistence:Map<string, boolean>
startTime:number
addChild(child): void
Attributes
child:Snapshot
Returns:void

Adds the provided child to the snapshot.


deserialize(objectDeserializerContext): void
Attributes
objectDeserializerContext:ObjectDeserializerContext
Returns:void

Restores this instance from the provided deserializer context.


getContextIterable(): Iterable<string>
Returns:Iterable<string>

Gets context iterable.


getFileIterable(): Iterable<string>
Returns:Iterable<string>

Gets file iterable.


getMissingIterable(): Iterable<string>
Returns:Iterable<string>

Gets missing iterable.


hasChildren(): boolean
Returns:boolean

hasContextHashes(): boolean
Returns:boolean

hasContextTimestamps(): boolean
Returns:boolean

hasContextTshs(): boolean
Returns:boolean

hasFileHashes(): boolean
Returns:boolean

hasFileTimestamps(): boolean
Returns:boolean

hasFileTshs(): boolean
Returns:boolean

hasManagedContexts(): boolean
Returns:boolean

hasManagedFiles(): boolean
Returns:boolean

hasManagedItemInfo(): boolean
Returns:boolean

hasManagedMissing(): boolean
Returns:boolean

hasMissingExistence(): boolean
Returns:boolean

hasStartTime(): boolean
Returns:boolean

serialize(objectSerializerContext): void
Attributes
objectSerializerContext:ObjectSerializerContext
Returns:void

Serializes this instance into the provided serializer context.


setChildren(value): void
Attributes
value:Set<Snapshot>
Returns:void

Updates children using the provided value.


setContextHashes(value): void
Attributes
value:Map<string, string | null>
Returns:void

Sets context hashes.


setContextTimestamps(value): void
Attributes

Sets context timestamps.


setContextTshs(value): void
Attributes

Updates context tshs using the provided value.


setFileHashes(value): void
Attributes
value:Map<string, string | null>
Returns:void

Updates file hashes using the provided value.


setFileTimestamps(value): void
Attributes
Returns:void

Sets file timestamps.


setFileTshs(value): void
Attributes
Returns:void

Updates file tshs using the provided value.


setManagedContexts(value): void
Attributes
value:Set<string>
Returns:void

Sets managed contexts.


setManagedFiles(value): void
Attributes
value:Set<string>
Returns:void

Sets managed files.


setManagedItemInfo(value): void
Attributes
value:Map<string, string>
Returns:void

Sets managed item info.


setManagedMissing(value): void
Attributes
value:Set<string>
Returns:void

Sets managed missing.


setMergedStartTime(value, snapshot): void
Attributes
snapshot:Snapshot
Returns:void

Sets merged start time.


setMissingExistence(value): void
Attributes
Returns:void

Sets missing existence.


setStartTime(value): void
Attributes
value:number
Returns:void

Updates start time using the provided value.

Attributes
hash:string
safeTime:number
timestamp:number