MCPcopy Index your code
hub / github.com/bugy/script-server / _normalize_pattern

Method _normalize_pattern

src/utils/file_utils.py:306–309  ·  view source on GitHub ↗
(pattern, working_dir)

Source from the content-addressed store, hash-verified

304
305 @staticmethod
306 def _normalize_pattern(pattern, working_dir):
307 if not os.path.isabs(pattern):
308 return normalize_path(pattern, working_dir)
309 return pattern
310
311 @staticmethod
312 def _contains_child(parent_str, child_path):

Callers 1

__init__Method · 0.95

Calls 1

normalize_pathFunction · 0.85

Tested by

no test coverage detected