MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / _build_url

Method _build_url

core/storage.py:1024–1026  ·  view source on GitHub ↗
(self, path: str)

Source from the content-addressed store, hash-verified

1022 self._initialized = True
1023
1024 def _build_url(self, path: str) -> str:
1025 encoded_path = quote(str(path.replace("\\", "/").lstrip("/")).lstrip("/"))
1026 return f"{self.base_url}{encoded_path}"
1027
1028 async def _mkdir_p(self, directory_path: str):
1029 """递归创建目录(类似mkdir -p)"""

Callers 10

_mkdir_pMethod · 0.95
_is_dir_emptyMethod · 0.95
_delete_empty_dirsMethod · 0.95
save_fileMethod · 0.95
delete_fileMethod · 0.95
get_file_responseMethod · 0.95
save_chunkMethod · 0.95
merge_chunksMethod · 0.95
clean_chunksMethod · 0.95
file_existsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected