Sha256: 590eacd7b1c1b6dd83dde28e28580f161c81eb946ec85d883836fbb573ea58f4
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
require 'repertoire/media/type' module Repertoire module Media class Git include Type known_as :git uses_schemes 'git' uses_directory '.git' # # Checks out the Git repository located at the specified _uri_ into the # specified _path_. # def self.checkout(uri,path) sh('git','clone',uri,path) end # # Updated the Git repository located at the specified _path_. # def self.update(path,uri=nil) sh('git','pull',path) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
repertoire-0.1.2 | lib/repertoire/media/types/git.rb |