StorageTarGzip class
A StorageMemory with Tar
and Tar+Gzip
capabilities.
- Uses
TarDecoder
andTarEncoder
. - If compressed also uses
GZipEncoder
andGZipDecoder
.
- Inheritance
-
- Object
- Storage
- StorageMemory
- StorageCompressed
- StorageTarGzip
Constructors
- StorageTarGzip()
- StorageTarGzip.fromArquive(Archive archive)
-
Constructs a StorageTarGzip from a
archive
. - StorageTarGzip.fromCompressed(Uint8List compressedData)
-
Constructs a StorageTarGzip from a
compressedData
(inTar
orTar+Gzip
).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ignoreFiles
↔ Set<
Pattern> -
getter/setter pairinherited
-
ignorePaths
↔ Set<
Pattern> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addArchive(
Archive arquive) → void -
inherited
-
addArquiveFile(
ArchiveFile arquiveFile) → bool -
inherited
-
addCompressedData(
Uint8List compressedData) → void -
inherited
-
addFile(
String directory, String name, dynamic content) → void -
inherited
-
compress(
{int compressionLevel = 4}) → Future< Uint8List> -
inherited
-
getFile(
String directory, String name) → FileStorage? -
inherited
-
getFileType(
String directoryPath, String name) → FutureOr< String> -
inherited
-
isIgnoredFile(
String path) → bool -
inherited
-
isIgnoredPath(
String path) → bool -
inherited
-
listFiles(
) → List< FileStorage> -
inherited
-
listFilesImpl(
) → List< FileStorage> -
inherited
-
listFilesPaths(
) → List< String> -
inherited
-
loadTemplate(
) → Future< Template> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readFileContent(
String directoryPath, String name) → FutureOr< Uint8List> -
inherited
-
removeFile(
String directory, String name) → bool -
inherited
-
saveFileContent(
String directoryPath, String name, Uint8List content) → FutureOr< String?> -
inherited
-
toAbsoluteDirectory(
String directory) → String -
inherited
-
toRelativeDirectory(
String absoluteDirectory) → String -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited