Sha256: 7a781f61cc3e97291470ac3663d04a56f7fdc5f877246f1aedb58b791935bc25

Contents?: true

Size: 591 Bytes

Versions: 4

Compression:

Stored size: 591 Bytes

Contents

module Inch
  # Codebases are one of the building blocks of Inch's analysis (the other
  # being "code objects" inside these "codebases").
  module Codebase
    # Parses a codebase
    #
    # @param dir [String]
    # @param config [Inch::Config::Codebase,nil]
    # @return [Codebase::Proxy]
    def self.parse(dir, config = nil)
      config ||= Config.codebase.clone
      config.update_via_yaml(dir)
      Proxy.parse(dir, config)
    end
  end
end

require "inch/codebase/proxy"
require "inch/codebase/objects"
require "inch/codebase/objects_filter"
require "inch/codebase/serializer"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inch-0.4.10 lib/inch/codebase.rb
inch-0.4.9 lib/inch/codebase.rb
inch-0.4.8 lib/inch/codebase.rb
inch-0.4.7 lib/inch/codebase.rb