$CacheBaseDirectory

$CacheBaseDirectory

是用于存储缓存数据的本地文件系统目录.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (1)

给出目前用于缓存的目录:

将缓存目录设置为一个临时路径:

将缓存基重置为其默认位置:

范围  (1)

给出一个 File 对象,用作缓存基目录:

应用  (1)

列出 $CacheBaseDirectory 下面所有现有的缓存对象:

删除它们:

属性和关系  (1)

LocalCache 创建的本地对象默认存储在 $CacheBaseDirectory 下面:

Wolfram Research (2016),$CacheBaseDirectory,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$CacheBaseDirectory.html.

文本

Wolfram Research (2016),$CacheBaseDirectory,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$CacheBaseDirectory.html.

CMS

Wolfram 语言. 2016. "$CacheBaseDirectory." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/$CacheBaseDirectory.html.

APA

Wolfram 语言. (2016). $CacheBaseDirectory. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/$CacheBaseDirectory.html 年

BibTeX

@misc{reference.wolfram_2024_$cachebasedirectory, author="Wolfram Research", title="{$CacheBaseDirectory}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/$CacheBaseDirectory.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$cachebasedirectory, organization={Wolfram Research}, title={$CacheBaseDirectory}, year={2016}, url={https://reference.wolfram.com/language/ref/$CacheBaseDirectory.html}, note=[Accessed: 21-November-2024 ]}