OkfBundleLoader class final
Loads OKF bundles from an explicitly supplied filesystem root.
Traversal is deterministic and never follows symbolic links. The root itself must be a real directory rather than a link. These checks assume the bundle is not being concurrently replaced by an adversarial process.
Constructors
- OkfBundleLoader()
-
Creates a bundle loader.
const
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
-
inspect(
String rootPath) → Future< OkfBundleLoadResult> -
Inventories and parses the bundle rooted at
rootPath. -
load(
String rootPath) → Future< OkfBundle> - Loads a complete bundle.
-
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