diff options
| author | Eric Biggers <ebiggers@google.com> | 2023-09-09 11:30:45 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@google.com> | 2023-09-09 11:30:45 -0700 |
| commit | c999f0b04c526a85d061a7461c0e4211e94f9fb7 (patch) | |
| tree | f3808ae890728a0bc4c09065296682360e533e6c /filesystem | |
| parent | f91f8e4fcb59d6db80e5150530a65fe39a836eb2 (diff) | |
Adjust nested lists to prevent gofmt from flattening them
The latest version of gofmt flattens the nested lists in comments in
crypto.go and filesystem.go. According to
https://go.dev/doc/comment#mistakes, "Go doc comments do not support
nested lists". However, that page also mentions that a workaround is to
use different list markers for each level. Do that.
Diffstat (limited to 'filesystem')
| -rw-r--r-- | filesystem/filesystem.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index 0e1f0c8..ee6c983 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -21,11 +21,11 @@ // Package filesystem deals with the structure of the files on disk used to // store the metadata for fscrypt. Specifically, this package includes: -// - mountpoint management (mountpoint.go) +// 1. mountpoint management (mountpoint.go) // - querying existing mounted filesystems // - getting filesystems from a UUID // - finding the filesystem for a specific path -// - metadata organization (filesystem.go) +// 2. metadata organization (filesystem.go) // - setting up a mounted filesystem for use with fscrypt // - adding/querying/deleting metadata // - making links to other filesystems' metadata |