Class: Cline::GlobalState::Workspace::WorkspaceRoot
- Defined in:
- lib/cline/global_state/workspace.rb
Overview
Workspace root directory entry
Instance Attribute Summary
Attributes inherited from Schema
Public API collapse
-
#commit_hash ⇒ String
Current commit hash.
-
#name ⇒ String
Display name.
-
#path ⇒ String
Directory path.
-
#vcs ⇒ String
Version control system type.
Methods inherited from Schema
#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash
Instance Method Details
#commit_hash ⇒ String
Returns Current commit hash.
19 |
# File 'lib/cline/global_state/workspace.rb', line 19 attribute :commit_hash, :string |
#name ⇒ String
Returns Display name.
13 |
# File 'lib/cline/global_state/workspace.rb', line 13 attribute :name, :string |
#path ⇒ String
Returns Directory path.
10 |
# File 'lib/cline/global_state/workspace.rb', line 10 attribute :path, :string |
#vcs ⇒ String
Returns Version control system type.
16 |
# File 'lib/cline/global_state/workspace.rb', line 16 attribute :vcs, :string |