DVStudioSourceFiles class
Studio's documents as files under root, the project.
Constructors
- DVStudioSourceFiles(String root, DVRecordAdapter records)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- records → DVRecordAdapter
-
Where the hash of what Studio last wrote is kept.
final
- root → String
-
The project's directory.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
changedInCode(
) → Future< Map< String, Map< >String, Object?> ?> - The documents whose files changed in code since Studio last wrote them -- new, edited or deleted -- as route to document, null for deleted. Each is remembered as read, so it is reported once.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String route, {bool force = false}) → Future< void> -
Deletes the file of the document at
route, on the same terms as write. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String route, Map< Object?, Object?> document, {bool force = false}) → Future<void> -
Writes
documentto its file, unless code changed the file since Studio last wrote it andforceis not given: then DVStudioSourceConflict. A file already holdingdocumentis left as it is.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited