MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / get_crate_name

Method get_crate_name

parser/src/def/workspace.rs:169–171  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

167
168impl Package {
169 pub fn get_crate_name(&self) -> String {
170 self.name.replace('-', "_")
171 }
172
173 pub fn get_firedbg_dir(&self, workspace: &Workspace) -> String {
174 let package_rel_path = &self.root_dir[(workspace.root_dir.len() + 1)..];

Callers 1

cache_workspaceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected