metro/live/live_snapshot library
Classes
- LiveSnapshot
-
A storage snapshot on Metro's side: what
storage.exportreturns, whatexport --towrites inmetro live, and the map an exported seeder holds.
Constants
-
snapshotFolders
→ const List<
String> - Folders a bare name is looked for in, after where it was typed.
Functions
-
dartLiteral(
Object? value, {String indent = '', String step = ' ', int width = 80, bool expand = false, int prefix = 0}) → String -
valueas a Dart literal that can sit in aconstmap. -
findSnapshotFile(
String source, {String root = '.'}) → File? -
The snapshot file
sourcenames, or null when nothing matches. -
seederNameFrom(
String input) → String? -
inputas a seeder name (demo_user), or null when it can't be one. -
snapshotNameFor(
String path) → String -
The seeder name for a snapshot file at
path:snapshots/Pro-User.jsonbecomespro_user.