We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 557d41c commit ec63923Copy full SHA for ec63923
src/git/mod.rs
@@ -5,9 +5,13 @@ use std::env;
5
use std::fs;
6
7
#[derive(Debug, Clone, Serialize, Deserialize)]
8
+/// Represents a hyperlink found in a repository, along with its location.
9
pub struct LinkInfo {
10
+ /// The URL string. This should be a valid HTTP or HTTPS URL.
11
pub url: String,
12
+ /// The relative file path where the URL was found.
13
pub file_path: String,
14
+ /// The 1-based line number in the file where the URL was found.
15
pub line_number: usize,
16
}
17
0 commit comments