Sha256: ea0a154d9ec0be49bef81e3d39d2b8517f3809bd1c26692e72ac7768c951719a

Contents?: true

Size: 1.52 KB

Versions: 6

Compression:

Stored size: 1.52 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>purge_native_file_from_cache (FileCache)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File lib/FileCache.rb, line 117</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">purge_native_file_from_cache</span>(<span class="ruby-identifier">native_file</span>)
  <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">glob</span>(<span class="ruby-identifier">cache_name_for_native_file</span>(<span class="ruby-identifier">native_file</span>,<span class="ruby-value str">'*'</span>)).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">filename</span><span class="ruby-operator">|</span>
    <span class="ruby-constant">RipXploreLog</span>.<span class="ruby-identifier">log</span> <span class="ruby-node">&quot;purging local #{filename}&quot;</span>
    <span class="ruby-constant">File</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">filename</span>)  
  <span class="ruby-keyword kw">end</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ripxplore-0.4.0 doc/classes/FileCache.src/M000252.html
ripxplore-0.0.2 doc/classes/FileCache.src/M000211.html
ripxplore-0.5.1 doc/classes/FileCache.src/M000252.html
ripxplore-0.5.0 doc/classes/FileCache.src/M000252.html
ripxplore-0.7.0 doc/classes/FileCache.src/M000252.html
ripxplore-0.5.2 doc/classes/FileCache.src/M000252.html