MCPcopy Create free account
hub / github.com/LargeWorldModel/LWM / exists

Method exists

scripts/eval_needle.py:219–223  ·  view source on GitHub ↗
(fname)

Source from the content-addressed store, hash-verified

217 results = []
218 completed = set()
219 def exists(fname):
220 if fname.startswith('gs://'):
221 return fs.exists(fname)
222 else:
223 return os.path.exists(fname)
224 if exists(FLAGS.output_file):
225 with open_file(FLAGS.output_file, 'r') as f:
226 results = json.load(f)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected