MCPcopy Create free account
hub / github.com/3eif/gitmotion / GourceError

Enum GourceError

api/src/main.rs:68–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67#[derive(Error, Debug)]
68enum GourceError {
69 #[error("Invalid URL")]
70 InvalidUrl,
71 #[error("Only private GitHub repositories are supported")]
72 UnsupportedRepository,
73 #[error("Failed to create temporary directory")]
74 TempDirCreationFailed,
75 #[error(
76 "Failed to clone repository. Your repository may be private and requires an access token."
77 )]
78 CloneFailed,
79 #[error("Failed to count commits")]
80 CommitCountFailed,
81 #[error("Failed to generate Gource visualization")]
82 GourceGenerationFailed,
83 #[error("Failed to decrypt access token")]
84 DecryptionFailed,
85}
86
87type JobStore = Arc<Mutex<HashMap<String, JobStatus>>>;
88

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected