Class: Aws::CodeCommit::Types::GetFileOutput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#blob_idString

The blob ID of the object that represents the file content.

Returns:

  • (String)


3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
# File 'lib/aws-sdk-codecommit/types.rb', line 3116

class GetFileOutput < Struct.new(
  :commit_id,
  :blob_id,
  :file_path,
  :file_mode,
  :file_size,
  :file_content)
  SENSITIVE = []
  include Aws::Structure
end

#commit_idString

The full commit ID of the commit that contains the content returned by GetFile.

Returns:

  • (String)


3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
# File 'lib/aws-sdk-codecommit/types.rb', line 3116

class GetFileOutput < Struct.new(
  :commit_id,
  :blob_id,
  :file_path,
  :file_mode,
  :file_size,
  :file_content)
  SENSITIVE = []
  include Aws::Structure
end

#file_contentString

The base-64 encoded binary data object that represents the content of the file.

Returns:

  • (String)


3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
# File 'lib/aws-sdk-codecommit/types.rb', line 3116

class GetFileOutput < Struct.new(
  :commit_id,
  :blob_id,
  :file_path,
  :file_mode,
  :file_size,
  :file_content)
  SENSITIVE = []
  include Aws::Structure
end

#file_modeString

The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.

<note markdown=“1”> The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.

</note>

Returns:

  • (String)


3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
# File 'lib/aws-sdk-codecommit/types.rb', line 3116

class GetFileOutput < Struct.new(
  :commit_id,
  :blob_id,
  :file_path,
  :file_mode,
  :file_size,
  :file_content)
  SENSITIVE = []
  include Aws::Structure
end

#file_pathString

The fully qualified path to the specified file. Returns the name and extension of the file.

Returns:

  • (String)


3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
# File 'lib/aws-sdk-codecommit/types.rb', line 3116

class GetFileOutput < Struct.new(
  :commit_id,
  :blob_id,
  :file_path,
  :file_mode,
  :file_size,
  :file_content)
  SENSITIVE = []
  include Aws::Structure
end

#file_sizeInteger

The size of the contents of the file, in bytes.

Returns:

  • (Integer)


3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
# File 'lib/aws-sdk-codecommit/types.rb', line 3116

class GetFileOutput < Struct.new(
  :commit_id,
  :blob_id,
  :file_path,
  :file_mode,
  :file_size,
  :file_content)
  SENSITIVE = []
  include Aws::Structure
end