Sha256: 0adfa428d91f7e4c92c5c585baf1bb26a9e7d8bd69de38767431a472ffa2f706

Contents?: true

Size: 691 Bytes

Versions: 1

Compression:

Stored size: 691 Bytes

Contents

module Repomen
  module Repo
    module Handler
      class Base
        include WithDefaultConfig

        attr_reader :config
        attr_reader :path
        attr_reader :url

        def initialize(url, path, _config = default_config)
          @url = url
          @config = Repomen::Config(_config)
          @path = File.join(config.work_dir, path)
        end

        def branch_name
          raise NotImplementedError
        end

        def change_branch(name)
          raise NotImplementedError
        end

        def retrieve
          raise NotImplementedError
        end

        def revision
          raise NotImplementedError
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
repomen-0.1.1 lib/repomen/repo/handler/base.rb