PutFileEntry class

Information about a file added or updated as part of a commit.

Constructors

PutFileEntry({required String filePath, Uint8List? fileContent, FileModeTypeEnum? fileMode, SourceFileSpecifier? sourceFile})

Properties

fileContent Uint8List?
The content of the file, if a source file is not specified.
final
fileMode FileModeTypeEnum?
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
final
filePath String
The full path to the file in the repository, including the name of the file.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceFile SourceFileSpecifier?
The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited