NativeManifest class final

The manifest: the SHA-256 of every release archive and of every file it unpacks to, by path relative to the folder llamadart_native_path points at (<bundle>/<archive>, <bundle>/extracted/<file>), plus the guard file extracted/target-bundle-not-vendored.so.

Constructors

NativeManifest.parse(String text, {required String tag})
Reads shasum -a 256 lines (<hex> <path>); # lines are comments. Throws FormatException.
factory

Properties

bundles → List<String>
The bundles the manifest covers, sorted.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sha256ByPath → Map<String, String>
final
tag → String
The release, such as v0.4.0.
final

Methods

archiveName(String bundle) → String
The release archive of bundle: llamadart-native-<bundle>-<tag>.tar.gz.
extractedSha256(String bundle, String name) → String?
The SHA-256 of the unpacked file name of bundle, or null.
filesOf(String bundle) → Map<String, String>
The manifest paths of bundle's files: its archive and everything under extracted/.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

embedded → NativeManifest
tool/native/llamadart-native-v0.4.0.sha256.
final

Constants

guardPath → const String
The guard file of a vendored folder (tool/native/README.md, "The guard file").