MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / parse_reference

Method parse_reference

atomic-cli/src/commands/revise.rs:282–284  ·  view source on GitHub ↗

Parse the reference string into a ChangeRef.

(&self)

Source from the content-addressed store, hash-verified

280
281 /// Parse the reference string into a ChangeRef.
282 fn parse_reference(&self) -> ChangeRef {
283 ChangeRef::parse(&self.reference)
284 }
285
286 /// Resolve the reference to a sequence number and entry.
287 fn resolve_reference(&self, repo: &Repository) -> CliResult<(u64, HistoryEntry)> {

Callers 2

resolve_referenceMethod · 0.80
runMethod · 0.80

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected