MCPcopy Create free account
hub / github.com/ezyang/ghstack / Ref

Class Ref

src/ghstack/github_fake.py:251–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249
250@dataclass
251class Ref(Node):
252 name: str
253 _repository: GraphQLId
254 target: GitObject
255
256 def repository(self, info: GraphQLResolveInfo) -> Repository:
257 return github_state(info).repositories[self._repository]
258
259
260@dataclass

Callers 1

_make_refMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected