File: api_rcache.inc

package info (click to toggle)
critcl 3.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,680 kB
  • sloc: ansic: 41,058; tcl: 12,090; sh: 7,230; pascal: 3,456; asm: 3,058; ada: 1,681; cpp: 1,001; cs: 879; makefile: 333; perl: 104; xml: 95; f90: 10
file content (23 lines) | stat: -rw-r--r-- 770 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

The following commands control the [sectref {Result Cache}].

[vset not_needed_for_critcl_script]

[list_begin definitions]
[comment ---------------------------------------------------------------------]
[call [cmd ::critcl::cache] [opt path]]

Sets and returns the path to the directory for the package's result cache.

[para] The default location is
[file ~/.critcl/[lb]platform::generic[rb]] and usually does not
require any changes.

[comment ---------------------------------------------------------------------]
[call [cmd ::critcl::clean_cache] [opt [arg pattern]...]]

Cleans the result cache, i.e. removes any and all files
and directories in it. If one or more patterns are specified then only
the files and directories matching them are removed.

[list_end]