MCPcopy Create free account
hub / github.com/dwavesystems/dwave-cloud-client / touch

Function touch

tests/test_cli.py:51–54  ·  view source on GitHub ↗

Implements UNIX `touch`.

(path)

Source from the content-addressed store, hash-verified

49
50
51def touch(path):
52 """Implements UNIX `touch`."""
53 with open(path, 'a'):
54 os.utime(path, None)
55
56
57class TestConfigCreate(unittest.TestCase):

Callers 6

test_config_lsMethod · 0.85
test_pingMethod · 0.85
test_sampleMethod · 0.85
test_solversMethod · 0.85
test_uploadMethod · 0.85
test_region_lsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected