MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / source_checkout_status_for_source

Function source_checkout_status_for_source

xtask/src/main.rs:7165–7174  ·  view source on GitHub ↗
(name: &str, path: &Path)

Source from the content-addressed store, hash-verified

7163}
7164
7165fn source_checkout_status_for_source(name: &str, path: &Path) -> Result<String> {
7166 if name == POSTGRES_PGLITE_SOURCE {
7167 return command_output(
7168 "git",
7169 &["status", "--porcelain", "--ignore-submodules=all"],
7170 path,
7171 );
7172 }
7173 source_checkout_status(path)
7174}
7175
7176fn patch_adds_marker(patch_text: &str, marker: &str) -> bool {
7177 patch_text

Callers 3

ensure_clean_checkoutFunction · 0.85
check_source_spineFunction · 0.85

Calls 2

command_outputFunction · 0.85
source_checkout_statusFunction · 0.85

Tested by

no test coverage detected