Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI45Lab/Code
/ normalize_path
Method
normalize_path
core/src/workspace/mod.rs:587–589 ·
view source on GitHub ↗
(&self, input: &str)
Source
from the content-addressed store, hash-verified
585
}
586
587
pub fn normalize_path(&self, input: &str) -> Result<WorkspacePath> {
588
self.path_resolver.normalize(input)
589
}
590
591
pub fn fs(&self) -> Arc<dyn WorkspaceFileSystem> {
592
Arc::clone(&self.file_system)
Callers
7
capture_snapshot
Method · 0.80
resolve_workspace_path
Method · 0.80
local_backend_reads_writes_and_lists
Function · 0.80
local_backend_searches_glob_and_grep
Function · 0.80
local_backend_rejects_absolute_paths_outside_workspace
Function · 0.80
local_backend_rejects_backslash_parent_escape
Function · 0.80
local_backend_allows_absolute_paths_inside_workspace
Function · 0.80
Calls
1
normalize
Method · 0.45
Tested by
3
local_backend_rejects_absolute_paths_outside_workspace
Function · 0.64
local_backend_rejects_backslash_parent_escape
Function · 0.64
local_backend_allows_absolute_paths_inside_workspace
Function · 0.64