MCPcopy Create free account
hub / github.com/douglance/devsql / file_name_string

Function file_name_string

crates/ccql/src/datasources/transcript.rs:77–82  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

75}
76
77fn file_name_string(path: &Path) -> String {
78 path.file_name()
79 .and_then(|n| n.to_str())
80 .unwrap_or("unknown")
81 .to_string()
82}
83
84/// Classify a `.jsonl` file under `projects/` into transcript metadata.
85fn classify_project_file(path: &Path, projects_dir: &Path) -> Option<TranscriptFile> {

Callers 2

classify_project_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected