Package nukescripts :: Module cache
[hide private]
[frames] | no frames]

Source Code for Module nukescripts.cache

 1  # Copyright (c) 2009 The Foundry Visionmongers Ltd.  All Rights Reserved. 
 2   
 3  import nuke 
 4   
5 -def cache_clear(args):
6 if len(args) > 0: 7 nuke.memory("free", args) 8 else: 9 nuke.memory("free")
10 11
12 -def cache_report(args):
13 if len(args) > 0: 14 return nuke.memory("info", args) 15 else: 16 return nuke.memory("info")
17