MCPcopy Create free account
hub / github.com/davisking/dlib / put

Method put

tools/htmlify/test_htmlify.py:43–47  ·  view source on GitHub ↗
(self, name, contents)

Source from the content-addressed store, hash-verified

41 self.put("other/missing.h", "// must not match by basename\n")
42
43 def put(self, name, contents):
44 path = self.source / name
45 path.parent.mkdir(parents=True, exist_ok=True)
46 path.write_text(contents)
47 return path
48
49 def run_htmlify(self, *args):
50 return subprocess.run(

Callers 5

setUpMethod · 0.95
test_url_escapingMethod · 0.95
test1_variantFunction · 0.80
thread_procMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected