MCPcopy
hub / github.com/donnemartin/gitsome / open

Function open

xonsh/fs.py:95–98  ·  view source on GitHub ↗
(file, *pargs, **kwargs)

Source from the content-addressed store, hash-verified

93 del _fscodec
94
95 def open(file, *pargs, **kwargs):
96 if isinstance(file, PathLike):
97 file = fspath(file)
98 return io.open(file, *pargs, **kwargs)

Callers 15

authenticateMethod · 0.85
load_configsMethod · 0.85
load_urlsMethod · 0.85
save_configMethod · 0.85
save_urlsMethod · 0.85
stream_response_to_fileFunction · 0.85
mainFunction · 0.85
parseMethod · 0.85
settitleMethod · 0.85
xontrib_metadataFunction · 0.85
visit_savejsonMethod · 0.85

Calls 1

fspathFunction · 0.85

Tested by 1

test_lex_optimize3Method · 0.68