Difference between revisions of "Wipe cache.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     wipe_cache(spin_system)
 
     wipe_cache(spin_system)
  
==Arguments==
+
==Parameters==
  
 
     spin_system - Spinach object with information (stored
 
     spin_system - Spinach object with information (stored

Revision as of 18:53, 5 June 2026

Forces a wipe of the Spinach cache folder.

Syntax

   wipe_cache(spin_system)

Parameters

   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