ReleaseStorage class abstract
A Release storage.
- Implemented types
- Implementers
Constructors
Properties
-
currentFiles
→ FutureOr<
Set< ReleaseFile> > -
no setter
-
currentRelease
→ FutureOr<
Release?> -
Returns the current storage Release.
no setter
-
currentReleasePath
→ FutureOr<
String?> -
Returns the current storage Release storage path.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the stored Release.
no setter
- platform → String?
-
The storage platform name.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkManifest(
ReleaseManifest manifest, {bool verbose = false}) → FutureOr< bool> -
Checks the
manifest
with the stored files to this storage implementation. -
copy(
) → ReleaseStorage -
Returns a copy of this instance.
inherited
-
currentReleaseFile(
String filePath) → FutureOr< ReleaseFile?> -
Returns a ReleaseFile from currentFiles that matches
filePath
. -
currentReleaseFilePath(
String filePath) → Future< String?> -
Returns a ReleaseFile.filePath from currentFiles that matches
filePath
. -
isFileEquals(
Release release, ReleaseFile file, ReleaseManifestFile manifestFile) → FutureOr< bool> -
Returns
true
if the storedfile
is equals tomanifestFile
. -
loadManifest(
) → FutureOr< ReleaseManifest?> - Loads the stored ReleaseManifest.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onSpawned(
) → FutureOr< bool> -
Called when an Isolate is spawned and receives a Spawnable instance.
override
-
saveFile(
Release release, ReleaseFile file, {bool verbose = false}) → FutureOr< bool> - Saves a file to this storage implementation.
-
saveManifest(
ReleaseManifest manifest) → FutureOr< bool> -
Saves the current
manifest
to this storage implementation. -
saveRelease(
Release release) → FutureOr< bool> -
Saves the current
release
to this storage implementation. -
toString(
) → String -
A string representation of this object.
inherited
-
updateTo(
ReleaseBundle bundle, {bool force = false, bool verbose = false}) → FutureOr< ReleaseUpdateResult?> -
Updates the current stored version to the
bundle
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited