MCPcopy Create free account
hub / github.com/catboost/catboost / resfs_has

Function resfs_has

library/python/runtime_py3/__res.py:252–256  ·  view source on GitHub ↗

Return true if the requested file is embedded in the program

(path)

Source from the content-addressed store, hash-verified

250
251
252def resfs_has(path):
253 """
254 Return true if the requested file is embedded in the program
255 """
256 return has(b'resfs/file/' + _b(path))
257
258
259def resfs_read(path, builtin=None):

Callers 1

get_codeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected