Correct file navigation descriptions for unrestricted paths
This commit is contained in:
+2
-2
@@ -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." }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user