AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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)


2653
2654
2655
2656
2657
2658
2659
2660
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2653

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)


2653
2654
2655
2656
2657
2658
2659
2660
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2653

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)


2653
2654
2655
2656
2657
2658
2659
2660
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2653

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)


2653
2654
2655
2656
2657
2658
2659
2660
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2653

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