Sha256: 09cdb59bd5de1f843f5223d7b0f0bfc9a19ca68b103f4d792d7b1817051354f2

Contents?: true

Size: 518 Bytes

Versions: 95

Compression:

Stored size: 518 Bytes

Contents

# ********** Copyright 2016 Viacom, Inc. Apache 2.0 **********

module Git
  class Stashes
    def pop(index=nil)
      @base.lib.stash_pop(index)
    end
    def drop(index=nil)
      @base.lib.stash_drop(index)
    end
  end
  class Lib
    def stash_pop(id = nil)
      if id
        command('stash pop', [id])
      else
        command('stash pop')
      end
    end
    def stash_drop(id = nil)
      if id
        command('stash drop', [id])
      else
        command('stash drop')
      end
    end
  end
end

Version data entries

95 entries across 95 versions & 1 rubygems

Version Path
roku_builder-4.25.0 lib/roku_builder/git.rb
roku_builder-4.24.3 lib/roku_builder/git.rb
roku_builder-4.24.1 lib/roku_builder/git.rb
roku_builder-4.24.0 lib/roku_builder/git.rb
roku_builder-4.23.2 lib/roku_builder/git.rb
roku_builder-4.23.1 lib/roku_builder/git.rb
roku_builder-4.23.0 lib/roku_builder/git.rb
roku_builder-4.22.9 lib/roku_builder/git.rb
roku_builder-4.22.8 lib/roku_builder/git.rb
roku_builder-4.22.7 lib/roku_builder/git.rb
roku_builder-4.22.6 lib/roku_builder/git.rb
roku_builder-4.22.5 lib/roku_builder/git.rb
roku_builder-4.22.4 lib/roku_builder/git.rb
roku_builder-4.22.3 lib/roku_builder/git.rb
roku_builder-4.22.2 lib/roku_builder/git.rb
roku_builder-4.22.1 lib/roku_builder/git.rb
roku_builder-4.21.6 lib/roku_builder/git.rb
roku_builder-4.21.5 lib/roku_builder/git.rb
roku_builder-4.21.4 lib/roku_builder/git.rb
roku_builder-4.21.3 lib/roku_builder/git.rb