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

Function record

libatomic/src/review/incremental.rs:1187–1189  ·  view source on GitHub ↗
(repo: &Repository, content: &str)

Source from the content-addressed store, hash-verified

1185 }
1186
1187 fn record(repo: &Repository, content: &str) -> Hash {
1188 record_path(repo, "subject.txt", content)
1189 }
1190
1191 fn record_path(repo: &Repository, relative: &str, content: &str) -> Hash {
1192 let path = repo.root().join(relative);

Calls 1

record_pathFunction · 0.70