@youtyan/code-viewer 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -186,8 +186,24 @@ tree state survives navigation and refresh.
186
186
  Symlinks get a distinct icon and a "→ target" label instead of looking like a
187
187
  regular file, and clicking one navigates straight to its resolved target.
188
188
  Broken symlinks are flagged and disabled instead of erroring out. Files with
189
- pending git changes (new, modified, renamed, deleted) show a status badge in
190
- the tree in place of the regular type icon.
189
+ pending git changes show a status badge in the tree in place of the regular
190
+ type icon:
191
+
192
+ | Badge | Meaning |
193
+ |---|---|
194
+ | `M` | Modified |
195
+ | `A` | Added — staged for commit |
196
+ | `D` | Deleted |
197
+ | `R` | Renamed |
198
+ | `U` | Untracked — in the worktree, not under version control yet |
199
+ | `I` | Ignored — excluded by a `.gitignore` rule |
200
+
201
+ `U` and `A` are deliberately separate: a file you have never run `git add` on
202
+ reads differently from one already staged. A directory that is wholly
203
+ untracked or ignored is badged as a whole, so it stays recognizable while
204
+ collapsed; it keeps its folder icon and carries the badge next to its name.
205
+ Inside an untracked directory the badge is inherited by its contents, except
206
+ where an ignore rule names a file specifically.
191
207
 
192
208
  ## Uploads and Scope Settings
193
209