MCPcopy Index your code
hub / github.com/InternLM/InternLM / delete_obj

Method delete_obj

internlm/utils/storage_manager.py:508–510  ·  view source on GitHub ↗
(self, fp: str)

Source from the content-addressed store, hash-verified

506 return meta.client.load(*unpack_meta(meta), *args, **kwargs)
507
508 def delete_obj(self, fp: str):
509 meta = self._get_client(path=fp)
510 meta.client.delete_obj(*unpack_meta(meta))
511
512 def _del_tmp_folder(self):
513 for fp in self._to_be_del_files:

Callers

nothing calls this directly

Calls 3

_get_clientMethod · 0.95
unpack_metaFunction · 0.85
delete_objMethod · 0.45

Tested by

no test coverage detected