diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-12 05:03:14 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-12 05:03:14 +0900 |
| commit | 8a91234cb4d8cbf6e1d5b909bc11f630d78a93e5 (patch) | |
| tree | 2a8997564266ff2c2815d67ba5261fbd9e29ed05 /hst/fslink.go | |
| parent | db7051a36814a5c9e02e22c2e8d1df42c5f4b8f0 (diff) | |
hst: reword and improve doc comments
This corrects minor mistakes in doc comments and adds them for undocumented constants.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/fslink.go')
| -rw-r--r-- | hst/fslink.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hst/fslink.go b/hst/fslink.go index 473506e6..2a1e3795 100644 --- a/hst/fslink.go +++ b/hst/fslink.go @@ -14,11 +14,11 @@ const FilesystemLink = "link" // FSLink represents a symlink in the container filesystem. type FSLink struct { - // link path in container + // Pathname in the container mount namespace. Target *check.Absolute `json:"dst"` - // linkname the symlink points to + // Arbitrary linkname value store in the symlink. Linkname string `json:"linkname"` - // whether to dereference linkname before creating the link + // Whether to treat Linkname as an absolute pathname and dereference before creating the link. Dereference bool `json:"dereference,omitempty"` } |
