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

Method touch

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

Source from the content-addressed store, hash-verified

263
264 ## \todo: Replace with pathlib.touch when Python 2.x support is dropped
265 def touch( self, path ) :
266 if not os.path.isdir( os.path.dirname( path ) ) :
267 os.makedirs( os.path.dirname( path ) )
268 with open( path, "a" ) :
269 os.utime( path, None )
270
271 def doSequences( self, sequences ) :
272

Callers 7

doSequencesMethod · 0.95
testSpecificSequencesMethod · 0.95
testAmbiguousPaddingMethod · 0.95
testMinLengthMethod · 0.95
testErrorsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected