Class: E2B::Services::GitFileStatus
- Inherits:
-
Struct
- Object
- Struct
- E2B::Services::GitFileStatus
- Defined in:
- lib/e2b/services/git.rb
Overview
Represents the status of a single file in the git working tree
Instance Attribute Summary collapse
-
#index_status ⇒ String
readonly
Status in the index (staged area).
-
#path ⇒ String
readonly
File path relative to the repository root.
-
#work_tree_status ⇒ String
readonly
Status in the working tree.
Instance Attribute Details
#index_status ⇒ String (readonly)
Status in the index (staged area)
13 14 15 |
# File 'lib/e2b/services/git.rb', line 13 def index_status @index_status end |
#path ⇒ String (readonly)
File path relative to the repository root
13 14 15 |
# File 'lib/e2b/services/git.rb', line 13 def path @path end |
#work_tree_status ⇒ String (readonly)
Status in the working tree
13 14 15 |
# File 'lib/e2b/services/git.rb', line 13 def work_tree_status @work_tree_status end |