Sha256: dc02c498d41d0fd4bbd54440ab97267f72a3816ef1125f95e942b622402094da
Contents?: true
Size: 559 Bytes
Versions: 2
Compression:
Stored size: 559 Bytes
Contents
require 'repertoire/media/type' module Repertoire module Media class Darcs include Type known_as :darcs uses_directory '_darcs' # # Checks out the Darcs repository located at the specified _uri_ into # the specified _path_. # def self.checkout(uri,path=nil) sh('darcs','get','--partial',uri,path) end # # Updated the Darcs repository located at the specified _path_. # def self.update(uri,path) sh('darcs','pull','-a',path) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
repertoire-0.1.1 | lib/repertoire/media/types/darcs.rb |
repertoire-0.1.2 | lib/repertoire/media/types/darcs.rb |