Closed jorio closed 2 years ago
Specifying the type of repository in the constructors of Branches and References helps IDEs resolve the type of expressions such as:
repository
Branches
References
repo.references["refs/remotes/origin/master"] ---> Reference repo.branches.local["master"] ---> Branch
Specifying the type of
repository
in the constructors ofBranches
andReferences
helps IDEs resolve the type of expressions such as:repo.references["refs/remotes/origin/master"] ---> Reference repo.branches.local["master"] ---> Branch