class ASF::CCLAFiles

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 68
def self.exist?(name)
  self.listnames.include?(name)
end
listnames() click to toggle source

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

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