Extend ls2json reader

by also parsing the link target, permissions, group and owner.
This commit is contained in:
Maximilian Paß
2022-08-30 16:23:17 +02:00
parent 3469d0ce77
commit 847e5cda65
5 changed files with 101 additions and 33 deletions

View File

@ -58,12 +58,12 @@ components:
description: The path of the file.
type: string
example: ./logs/last.log
objectType:
description: The type of the object (file).
entryType:
description: The type of the object (file). See the man page `info ls` for all the meanings.
type: string
minLength: 1
maxLength: 1
enum: ["d", "l", "-"]
enum: ["-", "a", "A", "b", "c", "C", "d", "D", "l", "M", "n", "p", "P", "s", "w", "?"]
default: "-"
size:
description: The size of the file in bytes.