MCPcopy Create free account
hub / github.com/AI45Lab/Code / default_path_input

Function default_path_input

core/src/workspace/mod.rs:911–918  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

909}
910
911fn default_path_input(input: &str) -> &str {
912 let trimmed = input.trim();
913 if trimmed.is_empty() {
914 "."
915 } else {
916 trimmed
917 }
918}
919
920fn has_windows_path_prefix(input: &str) -> bool {
921 let bytes = input.as_bytes();

Callers 2

normalize_virtual_pathFunction · 0.85
normalize_local_pathFunction · 0.85

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected