Sha256: b9ee4b6d76e1f3c0cc0cd80e43ed394ec1dcd98436027920b89b79eec573b193

Contents?: true

Size: 427 Bytes

Versions: 32

Compression:

Stored size: 427 Bytes

Contents

# encoding: utf-8

module Nanoc::Extra::VCSes

  # @see Nanoc::Extra::VCS
  class Git < Nanoc::Extra::VCS

    # @see Nanoc::Extra::VCS#add
    def add(filename)
      system('git', 'add', filename)
    end

    # @see Nanoc::Extra::VCS#remove
    def remove(filename)
      system('git', 'rm', filename)
    end

    # @see Nanoc::Extra::VCS#move
    def move(src, dst)
      system('git', 'mv', src, dst)
    end

  end

end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
nanoc-3.7.4 lib/nanoc/extra/vcses/git.rb
nanoc-3.7.3 lib/nanoc/extra/vcses/git.rb
nanoc-3.7.2 lib/nanoc/extra/vcses/git.rb
nanoc-3.7.1 lib/nanoc/extra/vcses/git.rb
nanoc-3.7.0 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.11 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.10 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.9 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.8 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.7 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.6 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.5 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.4 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.3 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.2 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.1 lib/nanoc/extra/vcses/git.rb
nanoc-3.6.0 lib/nanoc/extra/vcses/git.rb
nanoc-3.5.0 lib/nanoc/extra/vcses/git.rb
nanoc-3.5.0b2 lib/nanoc/extra/vcses/git.rb
nanoc-3.5.0b1 lib/nanoc/extra/vcses/git.rb