Searched defs:dir (Results 1 - 2 of 2) sorted by relevance

/ontohub/lib/git_repository/
H A Dfiles.rb37 when :dir
46 when :dir
55 def dir?
56 type == :dir
60 return :dir if rugged_object.nil?
65 :dir
/ontohub/lib/
H A Dgit_repository.rb39 def dir?(path, commit_oid = nil)
63 dir = dir?(path, commit_oid) ? path : path.split('/')[0..-2].join('/')
64 contents = folder_contents(commit_oid, dir)
102 dir = nil
104 if dir.nil?
106 dir = path if dir?(path, commit_oid)
110 dir

Completed in 7 milliseconds