lib/relaxo/directory.rb
# Load the entries from the tree, applying any changes.
Load the entries from the tree, applying any changes.
Load the entries from the tree applying any changes .
def load_entries!
			entries = @changes.dup
			if tree = fetch_tree
				tree.each_blob do |entry|
					unless entries.key? entry[:name]
						entries[entry[:name]] = entry
					end
				end
			end
			return entries.values.compact.sort_by{|entry| entry[:name]}
		end
def load_entries! entries = @changes . dup if tree = fetch_tree tree . each_blob do | entry | unless entries . key? entry [ :name ] entries [ entry [ :name ] ] = entry end end end return entries . values . compact . sort_by { | entry | entry [ :name ] } end
Load the entries from the tree, applying any changes.
Load the entries from the tree applying any changes .