Correct file navigation descriptions for unrestricted paths

This commit is contained in:
Ian Gulliver
2026-10-21 19:56:53 -07:00
parent 4e036924d3
commit 7577f007ab
3 changed files with 299 additions and 299 deletions
+2 -2
View File
@@ -1810,7 +1810,7 @@ components:
type: object
required: [path, entries, truncated]
properties:
path: { type: string, description: "The directory, relative to the worktree root; empty for the root." }
path: { type: string, description: "The directory, absolute or relative to the worktree root; empty for the worktree root." }
entries:
type: array
items: { $ref: "#/components/schemas/DirEntry" }
@@ -1826,7 +1826,7 @@ components:
type: string
enum: [dir, file, other]
x-enum-varnames: [DirEntryTypeDir, DirEntryTypeFile, DirEntryTypeOther]
description: "What the entry is, following a symlink that stays in the worktree. other: a symlink that leaves the worktree or points nowhere, or a device, socket or pipe."
description: "What the entry is, following symlinks. other: an entry whose metadata cannot be read, or a device, socket or pipe."
symlink: { type: boolean }
size: { type: integer, format: int64, description: "file: its size in bytes." }