class Avm::Git::Scms::Git

def <=>(other)

def <=>(other)
  git_repo <=> other.git_repo
end

def git_repo

def git_repo
  @git_repo ||= ::EacGit::Local.new(path)
end

def interval(from, to)

Returns:
  • (Avm::Git::Scms::Git::Interval) -

Parameters:
  • to (Avm::Git::Scms::Git::Commit) --
  • from (Avm::Git::Scms::Git::Commit) --
def interval(from, to)
  ::Avm::Git::Scms::Git::Interval.new(self, from, to)
end

def subs

Returns:
  • (Enumerable) -
def subs
  git_repo.subrepos.map do |subrepo|
    ::Avm::Git::Scms::GitSubrepo.new(subrepo.subpath.expand_path(path))
  end
end

def valid?

def valid?
  path.join('.git').exist?
end