This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

1#![allow(dead_code, unused_imports)] 2 3use knot_git::Layout; 4use knot_types::RepoDid; 5 6pub use knot_fixtures::{ 7 available as git_available, commit as commit_file, contains, must as git_ok, run as git, 8}; 9 10pub fn seeded() -> (tempfile::TempDir, tempfile::TempDir, Layout, RepoDid) { 11 let scan = tempfile::tempdir().unwrap(); 12 let work = tempfile::tempdir().unwrap(); 13 let layout = Layout::new(scan.path()); 14 let did = RepoDid::new("did:plc:squid").unwrap(); 15 layout.create(&did).unwrap(); 16 git_ok(work.path(), &["init", "-q", "-b", "main"]); 17 (scan, work, layout, did) 18}