Repository class

The Git repository of the project

Might contain a single dart project or multiple packages, or even non dart packages

Deprecated because sidekick doesn't require a git repo anymore. This method will work most of the time, but git is not a requirement anymore. Thus, people will use sidekick CLIs outside of a git repository

Annotations

Constructors

Repository({required Directory root})

Properties

hashCode int
The hash code for this object.
no setterinherited
root Directory
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findAllPackages() List<DartPackage>
Returns the list of all packages in the repository
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

Static Properties

cliPackageDir Directory?
The location of the sidekick package
no setter
entryPoint File?
The location of the entrypoint
no setter
requiredCliPackage Directory
The location of the sidekick package
no setter
requiredEntryPoint File
The location of the entrypoint
no setter
requiredSidekickPackage SidekickPackage
The sidekick package inside the repository
no setter
sidekickPackage SidekickPackage?
The sidekick package inside the repository
no setter