Skip to main content

Function: snapshotPath()

snapshotPath(directory, gameVersion): string

Defined in: store.ts:47

Builds the conventional file path for a version's snapshot.

Parameters

directory

string

Snapshot directory

gameVersion

string

Version the snapshot describes

Returns

string

The path to write to or read from