MCPcopy Create free account
hub / github.com/AIScientists-Dev/Flowtrace / init_async

Function init_async

crates/flowtrace-cli/src/git.rs:166–170  ·  view source on GitHub ↗
(root: PathBuf)

Source from the content-addressed store, hash-verified

164}
165
166pub async fn init_async(root: PathBuf) -> Result<()> {
167 tokio::task::spawn_blocking(move || init(&root))
168 .await
169 .context("git task panicked")?
170}
171
172/// SHA of HEAD. Errors if the repo has no commits yet.
173pub fn head_sha(root: &Path) -> Result<String> {

Callers 1

createFunction · 0.85

Calls 1

initFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…