On this page

new Snapshot(): Snapshot
Returns:<Snapshot>
Attributes
children:<Set>
contextHashes:<Map>
fileHashes:<Map>
fileTimestamps:<Map>
< <string> , <FileSystemInfoEntry> | <null> >
fileTshs:<Map>
< <string> , <string> | <TimestampAndHash> | <null> >
managedContexts:<Set>
managedFiles:<Set>
managedItemInfo:<Map>
managedMissing:<Set>
missingExistence:<Map>
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
Returns:
<Iterable> < <string> >

Gets context iterable.


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

Gets file iterable.


getMissingIterable(): Iterable
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
Attributes
value:<Set>
Returns:
{void}

Updates children using the provided value.


setContextHashes(value): void
Attributes
Returns:
{void}

Sets context hashes.


setContextTimestamps(value): void
Attributes
Returns:
{void}

Sets context timestamps.


setContextTshs(value): void
Attributes
Returns:
{void}

Updates context tshs using the provided value.


setFileHashes(value): void
Attributes
Returns:
{void}

Updates file hashes using the provided value.


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

Sets file timestamps.


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

Updates file tshs using the provided value.


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

Sets managed contexts.


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

Sets managed files.


setManagedItemInfo(value): void
Attributes
Returns:
{void}

Sets managed item info.


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

Sets managed missing.


setMergedStartTime(value, snapshot): void
Attributes
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.