You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeCommit::Types::BlobMetadata

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Returns information about a specific Git blob object.

Instance Attribute Summary collapse

Instance Attribute Details

#blob_idString

The full ID of the blob.

Returns:

  • (String)


76
77
78
79
80
81
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 76

class BlobMetadata < Struct.new(
  :blob_id,
  :path,
  :mode)
  include Aws::Structure
end

#modeString

The file mode permissions of the blob. File mode permission codes include:

  • 100644 indicates read/write

  • 100755 indicates read/write/execute

  • 160000 indicates a submodule

  • 120000 indicates a symlink

Returns:

  • (String)


76
77
78
79
80
81
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 76

class BlobMetadata < Struct.new(
  :blob_id,
  :path,
  :mode)
  include Aws::Structure
end

#pathString

The path to the blob and any associated file name, if any.

Returns:

  • (String)


76
77
78
79
80
81
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 76

class BlobMetadata < Struct.new(
  :blob_id,
  :path,
  :mode)
  include Aws::Structure
end