readManifestSnapshot function

ManifestSnapshot readManifestSnapshot(
  1. File file
)

Decodes a generated manifest file without searching arbitrary text.

Implementation

ManifestSnapshot readManifestSnapshot(File file) {
  return parseManifestSnapshot(file.readAsStringSync(), path: file.path);
}