Skip to main content

entry_label

Function entry_label 

Source
pub fn entry_label(path: &Path, root: &Path) -> String
Expand description

Build a display label for an entry point that includes the project directory name for disambiguation (e.g. wrangler/src/index.ts instead of just src/index.ts).