MCPcopy Create free account
hub / github.com/TencentARC/AnimeGamer / make_path_absolute

Function make_path_absolute

VDM_Decoder/vae_modules/utils.py:185–189  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

183
184
185def make_path_absolute(path):
186 fs, p = fsspec.core.url_to_fs(path)
187 if fs.protocol == "file":
188 return os.path.abspath(p)
189 return path
190
191
192def ismap(x):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected