MCPcopy Create free account
hub / github.com/KingOfBugbounty/enumrust / SourceMapInfo

Class SourceMapInfo

src/js_crawler.rs:666–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664/// Information extracted from source maps
665#[derive(Debug, Clone)]
666pub struct SourceMapInfo {
667 pub map_url: String,
668 pub original_files: Vec<String>,
669 pub secrets: Vec<HardcodedSecret>,
670 pub endpoints: Vec<JsEndpoint>,
671 pub comments: Vec<String>,
672 pub file_paths: Vec<String>,
673}
674
675/// Try to find and fetch source map for a JS file
676pub async fn find_source_map(js_url: &str, js_content: &str, _client: &Client) -> Option<String> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected