class FSSM::Tree::Cache
Public Instance Methods
Source
# File lib/fssm/tree.rb, line 145 def set(path) # all paths set from this level need to be absolute # realpath will fail on broken links path = FSSM::Pathname.for(path).expand_path super(path) end
Calls superclass method
FSSM::Tree::NodeInsertion#set
Private Instance Methods
Source
# File lib/fssm/tree.rb, line 168 def ftype(ft) inject({}) do |hash, (path, node)| hash["#{path}"] = node.mtime if node.ftype == ft hash end end