class ASF::GrantFiles

Common class for access to documents/cclas/

Constants

STEM

Public Class Methods

exist?(name) click to toggle source

Does an entry exist?

# File lib/whimsy/asf/documents.rb, line 91
def self.exist?(name)
  self.listnames.include?(name)
end
listnames() click to toggle source

listing of top-level grants file/directory names Directories are listed without trailing “/”

# File lib/whimsy/asf/documents.rb, line 84
def self.listnames
  cache_dir = ASF::DocumentUtils.check_cache(STEM).first
  _, list = ASF::SVN.getlisting(STEM, nil, true, false, cache_dir)
  list
end
update_cache(env) click to toggle source
# File lib/whimsy/asf/documents.rb, line 78
def self.update_cache(env)
  ASF::DocumentUtils.update_cache(STEM, env)
end