refactor(svc): tidy the rust services and build tooling (#2735)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-13 17:38:32 +02:00
1 parent 33737e0f79
commit 6af33c7188
41 files changed
+863 -1304

No files matched your search

+1 -13
View File
@@ -79,19 +79,7 @@ pub fn which(name: &str) -> Option<PathBuf> {
}
fn is_writable(path: &Path) -> bool {
let probe = path.join(".fluxer-write-test");
match std::fs::OpenOptions::new()
.create(true)
.write(true)
.truncate(true)
.open(&probe)
{
Ok(_) => {
let _ = std::fs::remove_file(probe);
true
}
Err(_) => false,
}
tempfile::NamedTempFile::new_in(path).is_ok()
}
#[cfg(unix)]