MCPcopy Index your code
hub / github.com/nodejs/node / normalize_paths

Function normalize_paths

deps/v8/third_party/abseil-cpp/absl/abseil.podspec.gen.py:79–82  ·  view source on GitHub ↗

Returns the list of normalized path.

(paths)

Source from the content-addressed store, hash-verified

77
78
79def normalize_paths(paths):
80 """Returns the list of normalized path."""
81 # e.g. ["//absl/strings:dir/header.h"] -> ["absl/strings/dir/header.h"]
82 return [path.lstrip("/").replace(":", "/") for path in paths]
83
84
85def parse_rule(elem, package):

Callers 1

parse_ruleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…