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

Method collectHashesWalk

test/IECoreScene/SceneCacheTest.py:1102–1109  ·  view source on GitHub ↗
( scene, hashType, time )

Source from the content-addressed store, hash-verified

1100 def testHashStability( self ) :
1101
1102 def collectHashesWalk( scene, hashType, time ) :
1103
1104 result = {}
1105 result[scene.pathToString(scene.path())] = scene.hash( hashType, time )
1106 for name in scene.childNames() :
1107 result.update( collectHashesWalk( scene.child( name ), hashType, time ) )
1108
1109 return result
1110
1111 for hashType in IECoreScene.SceneInterface.HashType.values.values() :
1112

Callers

nothing calls this directly

Calls 6

pathToStringMethod · 0.80
pathMethod · 0.45
hashMethod · 0.45
childNamesMethod · 0.45
updateMethod · 0.45
childMethod · 0.45

Tested by

no test coverage detected