module Store::Commit

Public Class Methods

[](commit_id) click to toggle source
# File lib/store.rb, line 19
def Commit.[](commit_id)
  ::Store::read(@@commits, commit_id)
end
cache(old={}) click to toggle source
# File lib/store.rb, line 27
def Commit.cache(old={})
  ::Store::cache("commits", @@commits, Cache.read("commits", {}))
end
index(commit) click to toggle source
# File lib/store.rb, line 23
def Commit.index(commit)
  ::Store::write(@@commits, commit[:commit_id], commit)
end