MCPcopy Create free account
hub / github.com/ImageEngine/cortex / touch

Method touch

test/IECore/FileSequence.py:476–480  ·  view source on GitHub ↗
( self, path )

Source from the content-addressed store, hash-verified

474
475 ## \todo: Replace with pathlib.touch when Python 2.x support is dropped
476 def touch( self, path ) :
477 if not os.path.isdir( os.path.dirname( path ) ) :
478 os.makedirs( os.path.dirname( path ) )
479 with open( path, "a" ) :
480 os.utime( path, None )
481
482 def test( self ) :
483

Callers 2

testMethod · 0.95
testOverlappingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected