EVOLUTION-MANAGER
Edit File: sass_file_cache.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Create a file cache object</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for sass_file_cache {sass}"><tr><td>sass_file_cache {sass}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Create a file cache object</h2> <h3>Description</h3> <p>This creates a file cache which is to be used by sass for caching generated .css files. </p> <h3>Usage</h3> <pre> sass_file_cache(dir, max_size = 40 * 1024^2, max_age = Inf) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>dir</code></td> <td> <p>The directory in which to store the cached files.</p> </td></tr> <tr valign="top"><td><code>max_size</code></td> <td> <p>The maximum size of the cache, in bytes. If the cache grows past this size, the least-recently-used objects will be removed until it fits within this size.</p> </td></tr> <tr valign="top"><td><code>max_age</code></td> <td> <p>The maximum age of objects in the cache, in seconds. The default is one week.</p> </td></tr> </table> <h3>Value</h3> <p>A <a href="FileCache.html">FileCache</a> object. </p> <h3>See Also</h3> <p><code><a href="sass_cache_get.html">sass_cache_get()</a></code>, <code><a href="sass_cache_context_dir.html">sass_cache_context_dir()</a></code>, <a href="FileCache.html">FileCache</a> </p> <h3>Examples</h3> <pre> ## Not run: # Create a cache with the default settings cache <- sass_file_cache(sass_cache_context_dir()) # Clear the cache cache$reset() ## End(Not run) </pre> <hr /><div style="text-align: center;">[Package <em>sass</em> version 0.4.2 <a href="00Index.html">Index</a>]</div> </body></html>