Class: E2B::Services::GitFileStatus

Inherits:
Struct
  • Object
show all
Defined in:
lib/e2b/services/git.rb

Overview

Represents the status of a single file in the git working tree

Instance Attribute Summary collapse

Instance Attribute Details

#index_statusString (readonly)

Status in the index (staged area)

Returns:

  • (String)

    the current value of index_status



13
14
15
# File 'lib/e2b/services/git.rb', line 13

def index_status
  @index_status
end

#pathString (readonly)

File path relative to the repository root

Returns:

  • (String)

    the current value of path



13
14
15
# File 'lib/e2b/services/git.rb', line 13

def path
  @path
end

#work_tree_statusString (readonly)

Status in the working tree

Returns:

  • (String)

    the current value of work_tree_status



13
14
15
# File 'lib/e2b/services/git.rb', line 13

def work_tree_status
  @work_tree_status
end