new Snapshot(): Snapshot
Returns:
SnapshotType:
Map<string, ResolvedContextFileSystemInfoEntry | null>Type:
Map<string, ResolvedContextTimestampAndHash | null>Type:
Map<string, FileSystemInfoEntry | null>Type:
Map<string, string | TimestampAndHash | null>Type:
numbersnapshot.addChild(child): void
Attributes
child:
SnapshotAdds the provided child to the snapshot.
snapshot.deserialize(__namedParameters): void
Attributes
__namedParameters:
ObjectDeserializerContextObjectMiddlewareObject_4Restores this instance from the provided deserializer context.
snapshot.getContextIterable(): Iterable<string>
Gets context iterable.
snapshot.getFileIterable(): Iterable<string>
Gets file iterable.
snapshot.getMissingIterable(): Iterable<string>
Gets missing iterable.
snapshot.hasChildren(): boolean
Returns:
booleansnapshot.hasContextHashes(): boolean
Returns:
booleansnapshot.hasContextTimestamps(): boolean
Returns:
booleansnapshot.hasContextTshs(): boolean
Returns:
booleansnapshot.hasFileHashes(): boolean
Returns:
booleansnapshot.hasFileTimestamps(): boolean
Returns:
booleansnapshot.hasFileTshs(): boolean
Returns:
booleansnapshot.hasManagedContexts(): boolean
Returns:
booleansnapshot.hasManagedFiles(): boolean
Returns:
booleansnapshot.hasManagedItemInfo(): boolean
Returns:
booleansnapshot.hasManagedMissing(): boolean
Returns:
booleansnapshot.hasMissingExistence(): boolean
Returns:
booleansnapshot.hasStartTime(): boolean
Returns:
booleansnapshot.serialize(__namedParameters): void
Attributes
__namedParameters:
ObjectSerializerContextObjectMiddlewareObject_5Serializes this instance into the provided serializer context.
snapshot.setChildren(value): void
Attributes
Updates children using the provided value.
snapshot.setContextHashes(value): void
Attributes
Sets context hashes.
snapshot.setContextTimestamps(value): void
Attributes
value:
Map<string, ResolvedContextFileSystemInfoEntry | null>Sets context timestamps.
snapshot.setContextTshs(value): void
Attributes
value:
Map<string, ResolvedContextTimestampAndHash | null>Updates context tshs using the provided value.
snapshot.setFileHashes(value): void
Attributes
Updates file hashes using the provided value.
snapshot.setFileTimestamps(value): void
Attributes
value:
Map<string, FileSystemInfoEntry | null>Sets file timestamps.
snapshot.setFileTshs(value): void
Attributes
value:
Map<string, string | TimestampAndHash | null>Updates file tshs using the provided value.
snapshot.setManagedContexts(value): void
Attributes
Sets managed contexts.
snapshot.setManagedFiles(value): void
Attributes
Sets managed files.
snapshot.setManagedItemInfo(value): void
Attributes
Sets managed item info.
snapshot.setManagedMissing(value): void
Attributes
Sets managed missing.
snapshot.setMergedStartTime(value, snapshot): void
Attributes
Sets merged start time.
snapshot.setMissingExistence(value): void
Attributes
Sets missing existence.
snapshot.setStartTime(value): void
Attributes
value:
numberUpdates start time using the provided value.