Benign rust download unavailable

stagesift-git-domain 0.1.1

“Pure Git domain types (status, diff, blame). No I/O, no UI types.”

Package first published within seven daysPackage under two months old
SHA-2568c5bd31790e52d4899d58f434dc82b170f39eacfededb1751751eb070e9390f6

Evidence

imports super::* quote.rs · lines 81–95
⋯5 lines
86}
87
88#[cfg(test)]
89mod tests {
90 use super::*;
91
92 #[test]
93 fn plain_paths_are_untouched() {
94 assert_eq!(quote_c_style(b"src/main.rs"), b"src/main.rs");
95 assert_eq!(quote_c_style(b"-leading-das …
imports std::ffi::OsString path.rs · lines 1–8
1use std::ffi::OsString;
2use std::fmt;
3use std::path::{Path, PathBuf};
4use std::sync::Arc;
5
6/// A repository-relative path exactly as Git reports it.
7///
8/// Git paths are byte strings. …
imports std::os::unix::ffi::OsStrExt path.rs · lines 45–53
45:29… f) -> OsString {
46 #[cfg(unix)]
47 {
48 use std::os::unix::ffi::OsStrExt;
49 std::ffi::OsStr::from_bytes(self.as_bytes()).to_os_string()
50 }
51 #[cfg(not(unix))]
52 {
53 …
imports crate::oid::Oid diff.rs · lines 1–7
1use std::sync::Arc;
2
3use crate::oid::Oid;
4use crate::path::RepoPath;
5
6/// Which pair of Git layers a diff compares.
7#[derive(Clone, Copy, Debug, PartialEq, Eq, Has …
imports std::fmt oid.rs · lines 1–4
1use std::fmt;
2
3/// A full hexadecimal object id (SHA-1 or SHA-256).
4#[derive(Clone, PartialEq, Eq, Hash, Par …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.