Debian Codegraph @

man/sass_cache_get.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/sass_cache.R
3 \name{sass_cache_get}
4 \alias{sass_cache_get}
5 \title{Retrieve the default file cache}
6 \usage{
7 sass_cache_get()
8 }
9 \description{
10 When caching is enabled, this function returns a \code{\link[=sass_file_cache]{sass_file_cache()}} object
11 that \code{\link[=sass]{sass()}}'s \code{cache} argument uses (by default) for caching Sass
12 compilation. When caching is disabled (either by setting the \code{sass.cache}
13 option to \code{FALSE}, \code{NULL}, or via \code{\link[shiny:devmode]{shiny::devmode()}}), this function returns
14 \code{NULL} (effectively telling \code{\link[=sass]{sass()}} to not \code{cache} by default).
15 }
16 \details{
17 When caching is enabled, then this function returns a \code{sass_file_cache()}
18 object that (by default) uses \code{\link[=sass_cache_context_dir]{sass_cache_context_dir()}} for its directory.
19 The directory can also be customized by providing the \code{sass.cache} option
20 with either a filepath (as a string) or a full-blown \code{sass_file_cache()}
21 object.
22 }
23 \seealso{
24 \code{\link[=sass_cache_get_dir]{sass_cache_get_dir()}}, \code{\link[=sass]{sass()}}
25 }