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)


2421
2422
2423
2424
2425
2426
2427
2428
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2421

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)


2421
2422
2423
2424
2425
2426
2427
2428
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2421

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)


2421
2422
2423
2424
2425
2426
2427
2428
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2421

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)


2421
2422
2423
2424
2425
2426
2427
2428
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2421

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