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

Method refresh

python/IECore/ClassLoader.py:184–196  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

182 # can be used to force an update of the cache to
183 # reflect changes on the filesystem.
184 def refresh( self ) :
185
186 # __classes is a dictionary mapping from a class name
187 # to information for that class in the following form
188 # {
189 # "versions" : [], # a list containing all the available versions for that class
190 # "imports" : {}, # a dictionary mapping from version numbers to the actual class definition
191 # # this is filled in lazily by load()
192 # }
193 # this will be filled in lazily by __findClass and __findAllClasses
194
195 self.__classes = {}
196 self.__foundAllClasses = False
197
198 __defaultLoaders = {}
199 __defaultLoaderMutex = threading.Lock()

Callers 2

__init__Method · 0.95
testRefreshMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected