Difference between revisions of "Wipe cache.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Update function See also links and function index membership) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:wipe_cache.m}} __NOTOC__ | {{DISPLAYTITLE:wipe_cache.m}} __NOTOC__ | ||
| − | |||
Forces a wipe of the Spinach cache folder. | Forces a wipe of the Spinach cache folder. | ||
==Syntax== | ==Syntax== | ||
| − | wipe_cache(spin_system) | + | wipe_cache(spin_system) |
| − | == | + | ==Parameters== |
| − | spin_system - Spinach object with information (stored | + | spin_system - Spinach object with information (stored |
in spin_system.sys.scratch) about the cache | in spin_system.sys.scratch) about the cache | ||
folder location; use bootstrap() to get the | folder location; use bootstrap() to get the | ||
| Line 16: | Line 15: | ||
==Outputs== | ==Outputs== | ||
| − | an attempt is made to delete | + | 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== | ==See also== | ||
| − | + | [[banner.m]], [[cacheman.m]], [[compile_mex.m]], [[dipolar.m]], [[existentials.m]], [[exorcise.m]], [[forum.m]], [[hebrew.m]], [[iseye.m]], [[patrol.m]], [[rearm.m]], [[report.m]], [[sniff.m]], [[summary.m]], [[symmetry.m]], [[tolerances.m]], [[wiki.m]], [[Kernel_utilities]] | |
| − | [[Kernel_utilities | ||
| − | |||
''Version 2.11, authors: [[Ilya Kuprov]]'' | ''Version 2.11, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 19:43, 6 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
banner.m, cacheman.m, compile_mex.m, dipolar.m, existentials.m, exorcise.m, forum.m, hebrew.m, iseye.m, patrol.m, rearm.m, report.m, sniff.m, summary.m, symmetry.m, tolerances.m, wiki.m, Kernel_utilities
Version 2.11, authors: Ilya Kuprov