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

Method touch

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

Source from the content-addressed store, hash-verified

516
517 ## \todo: Replace with pathlib.touch when Python 2.x support is dropped
518 def touch( self, path ) :
519 if not os.path.isdir( os.path.dirname( path ) ) :
520 os.makedirs( os.path.dirname( path ) )
521 with open( path, "a" ) :
522 os.utime( path, None )
523
524 def testNoOverlapping( self ) :
525

Callers 1

testMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected