LocalTarget class

Filesystem transport for target: local — writes a Bundle under a prefix directory and reads it back for dialect pull. The same on-disk shape an S3/R2 target uploads (dialect/spec/bundle.md); the S3 target is the identical protocol over HTTP.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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 Methods

read(String baseDir) PulledBundle
Read and verify the published bundle under baseDir. Throws FormatException on a missing/malformed manifest or a SHA-256 mismatch (a corrupt object must never reach a deploy).
write(String baseDir, Bundle bundle) BundleWriteResult
Write bundle under baseDir. Immutable objects (b/<version>/…) are written only if absent — re-publishing identical content is a no-op. The channel head is written last (after every immutable object), so a reader never sees a head pointing at an incomplete bundle.