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.4.3 lib/nanoc/extra/vcses/git.rb
nanoc-3.4.2 lib/nanoc/extra/vcses/git.rb
nanoc-3.4.1 lib/nanoc/extra/vcses/git.rb
nanoc-3.4.0 lib/nanoc/extra/vcses/git.rb
nanoc-3.3.7 lib/nanoc/extra/vcses/git.rb
nanoc-3.3.6 lib/nanoc/extra/vcses/git.rb
nanoc-3.3.5 lib/nanoc/extra/vcses/git.rb
nanoc-3.3.4 lib/nanoc/extra/vcses/git.rb
nanoc-3.3.3 lib/nanoc/extra/vcses/git.rb
nanoc-3.3.2 lib/nanoc/extra/vcses/git.rb
nanoc-3.3.1 lib/nanoc/extra/vcses/git.rb
nanoc-3.3.0 lib/nanoc/extra/vcses/git.rb