RepoFolder class

Contains information about a folder on the Hub.

Attributes: path (str): folder path relative to the repo root. tree_id (str): The folder's git OID. last_commit (LastCommitInfo, optional): The folder's last commit metadata. Only defined if `list_repo_tree` and `get_paths_info` are called with expand=True.

Inheritance

Constructors

RepoFolder(Map<String, dynamic> kwargs)
RepoFolder.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lastCommit LastCommitInfo?
latefinal
path String
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
treeId String
latefinal

Methods

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

Operators

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