Difference between revisions of "Wipe cache.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Restore pre-bulk-edit wiki content)
(Normalise sequential blank lines)
Line 21: Line 21:
 
==See also==
 
==See also==
 
[[Kernel_utilities#Housekeeping_functions|Housekeeping functions]]
 
[[Kernel_utilities#Housekeeping_functions|Housekeeping functions]]
 
  
 
''Version 2.11, authors: [[Ilya Kuprov]]''
 
''Version 2.11, authors: [[Ilya Kuprov]]''

Revision as of 12:32, 25 April 2026

Forces a wipe of the Spinach cache folder.

Syntax

   wipe_cache(spin_system)

Arguments

   spin_system - Spinach object with information (stored
                 in spin_system.sys.scratch) about the cache
                 folder location; use bootstrap() to get the 
                 default object

Outputs

   an attempt is made to delete all Spinach-specific files in
   spin_system.sys.scratch; this would fail quietly if file 
   system permissions are insufficient

See also

Housekeeping functions

Version 2.11, authors: Ilya Kuprov