wipe_cache.m

From Spinach Documentation Wiki
Revision as of 15:06, 5 April 2026 by Kuprov (talk | contribs) (Sync syntax/arguments/outputs with current Spinach source)
Jump to: navigation, search


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 all Spinach-specific

    files in spin_system.sys.scratch; this would fail qui-
    etly if file system permissions are insufficient
ilya.kuprov@weizmann.ac.il

See also

Housekeeping functions


Version 2.11, authors: Ilya Kuprov