BackupManager class
Constructors
- BackupManager(String projectRoot)
Properties
- backupDirPath → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- manifestPath → String
-
no setter
- projectRoot → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
backupFile(
String filePath) → void -
Backs up the file at
filePathto the backup folder before modification. Does not overwrite the initial backup if it already exists. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restoreAll(
) → void - Restores all backed-up files and deletes the backup directory.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited