class ASF::GrantFiles

Common class for access to documents/grants/

Constants

STEM

Public Class Methods

exist?(name) click to toggle source

Does an entry exist?

# File lib/whimsy/asf/documents.rb, line 92
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 85
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 79
def self.update_cache(env)
  ASF::DocumentUtils.update_cache(STEM, env)
end