Class: Aws::CodeCommit::Types::File

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

Overview

Returns information about a file in a repository.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#absolute_pathString

The fully qualified path to the file in the repository.

Returns:

  • (String)


2347
2348
2349
2350
2351
2352
2353
2354
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2347

class File < Struct.new(
  :blob_id,
  :absolute_path,
  :relative_path,
  :file_mode)
  SENSITIVE = []
  include Aws::Structure
end

#blob_idString

The blob ID that contains the file information.

Returns:

  • (String)


2347
2348
2349
2350
2351
2352
2353
2354
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2347

class File < Struct.new(
  :blob_id,
  :absolute_path,
  :relative_path,
  :file_mode)
  SENSITIVE = []
  include Aws::Structure
end

#file_modeString

The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

Returns:

  • (String)


2347
2348
2349
2350
2351
2352
2353
2354
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2347

class File < Struct.new(
  :blob_id,
  :absolute_path,
  :relative_path,
  :file_mode)
  SENSITIVE = []
  include Aws::Structure
end

#relative_pathString

The relative path of the file from the folder where the query originated.

Returns:

  • (String)


2347
2348
2349
2350
2351
2352
2353
2354
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2347

class File < Struct.new(
  :blob_id,
  :absolute_path,
  :relative_path,
  :file_mode)
  SENSITIVE = []
  include Aws::Structure
end