Sha256: 0a1e18d1640de722d02b79349f107eee5af015d031bd2fb4c8f9f494e262d7c8
Contents?: true
Size: 1.07 KB
Versions: 7
Compression:
Stored size: 1.07 KB
Contents
module Houston module Adapters module VersionControl class NullRepoClass # Public API for a VersionControl::Adapter Repo # ------------------------------------------------------------------------- # def all_commit_times [] end def all_commits [] end def ancestors [] end def ancestors_until(sha, *args) [] end def branches {} end def branches_at(sha) [] end def commits_between(sha1, sha2) [] end def location "" end def native_commit(sha) raise Houston::Adapters::VersionControl::CommitNotFound end def read_file(file_path, options={}) nil end def refresh!(async: false) end # ------------------------------------------------------------------------- # def nil? true end end NullRepo = NullRepoClass.new end end end
Version data entries
7 entries across 7 versions & 1 rubygems