On this page

new Snapshot(): Snapshot
Returns:<Snapshot>
  • children {Set< Snapshot >}
  • contextHashes {Map< string, string|null >}
  • contextTimestamps {Map< string, ResolvedContextFileSystemInfoEntry|null >}
  • contextTshs {Map< string, ResolvedContextTimestampAndHash|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
Returns:
{void}

Adds the provided child to the snapshot.


deserialize(__namedParameters): void
Attributes
__namedParameters:<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(__namedParameters): void
Attributes
__namedParameters:<ObjectSerializerContext>
Returns:
{void}

Serializes this instance into the provided serializer context.


setChildren(value): void
  • value {Set< Snapshot >}
  • Returns: {void}

Updates children using the provided value.


setContextHashes(value): void
  • value {Map< string, string|null >}
  • Returns: {void}

Sets context hashes.


setContextTimestamps(value): void
  • value {Map< string, ResolvedContextFileSystemInfoEntry|null >}
  • Returns: {void}

Sets context timestamps.


setContextTshs(value): void
  • value {Map< string, ResolvedContextTimestampAndHash|null >}
  • Returns: {void}

Updates context tshs using the provided value.


setFileHashes(value): void
  • value {Map< string, string|null >}
  • Returns: {void}

Updates file hashes using the provided value.


setFileTimestamps(value): void
  • value {Map< string, FileSystemInfoEntry|null >}
  • Returns: {void}

Sets file timestamps.


setFileTshs(value): void
  • value {Map< string, string|TimestampAndHash|null >}
  • Returns: {void}

Updates file tshs using the provided value.


setManagedContexts(value): void
  • value {Set< string >}
  • Returns: {void}

Sets managed contexts.


setManagedFiles(value): void
  • value {Set< string >}
  • Returns: {void}

Sets managed files.


setManagedItemInfo(value): void
  • value {Map< string, string >}
  • Returns: {void}

Sets managed item info.


setManagedMissing(value): void
  • value {Set< string >}
  • Returns: {void}

Sets managed missing.


setMergedStartTime(value, snapshot): void
Attributes
Returns:
{void}

Sets merged start time.


setMissingExistence(value): void
  • value {Map< string, boolean >}
  • Returns: {void}

Sets missing existence.


setStartTime(value): void
Attributes
value:<number>
Returns:
{void}

Updates start time using the provided value.