Sha256: 8cfb5fbf6c2110a73be0caaf732d70e05464de71955e593e799370b5753feff7

Contents?: true

Size: 503 Bytes

Versions: 3

Compression:

Stored size: 503 Bytes

Contents

module Git

  class Base

    def self.setup_ssh_key(ssh_key_path)
      Git::Lib.new.setup_ssh_key(ssh_key_path)
    end

    def self.kill_ssh_agent
      Git::Lib.new.kill_ssh_agent
    end

    def show_head_names
      self.lib.show_head_names
    end

    # cleans a git repository locally
    def clean(opts = {})
      # run git-clone
      self.lib.clean(opts)
    end

    def stash(opts = {})
      # run git-stash
      self.lib.stash(opts)
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
winci-updater-0.0.3 lib/winci-updater/git_ext/base.rb
winci-updater-0.0.2 lib/winci-updater/git_ext/base.rb
winci-updater-0.0.1 lib/winci-updater/git_ext/base.rb