Sha256: 1fc3c77fea45da0b19c1f57833f6b20c788e398a2f4862dab51ec8bb7aaa1afd

Contents?: true

Size: 293 Bytes

Versions: 18

Compression:

Stored size: 293 Bytes

Contents

module DtkCommon
  class GitRepo::Adapter::Rugged
    class Blob < Obj
      def initialize(repo_branch,rugged_blob)
        super(repo_branch)
        @rugged_blob = rugged_blob
      end
      
      def content()
        lookup(@rugged_blob[:oid]).read_raw.data
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
dtk-common-0.7.6 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.7.5 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.7.4 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.7.3 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.7.2 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.7.1 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.7.0 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.6.5 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.6.4 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.6.3 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.6.1 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.6.0 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.5.16 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.5.15 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.5.14 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.5.13 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.5.12 lib/git_repo/adapters/rugged/blob.rb
dtk-common-0.5.11 lib/git_repo/adapters/rugged/blob.rb