mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00

Related to #1 Add documentation for adfs, affs, and debugfs filesystem mount options. * **common-documentation/filesystems/mountoptions/adfs.go** - Add documentation for adfs filesystem options including uid, gid, ownmask, and othmask. * **common-documentation/filesystems/mountoptions/affs.go** - Add documentation for affs filesystem options including uid, gid, setuid, setgid, mode, and other options. * **common-documentation/filesystems/mountoptions/debugfs.go** - Add documentation for debugfs filesystem options including uid, gid, and mode. * **handlers/fstab/documentation/documentation-mountoptions.go** - Update to include the new mount options for adfs, affs, and debugfs filesystems. - Add entries for adfs, affs, and debugfs in the `MountOptionsMapField`. * **common.go** - Add common constants like "zero" to common-documentation/filesystems/mountoptions/common.go.
19 lines
509 B
Go
19 lines
509 B
Go
package commondocumentation
|
|
|
|
import docvalues "config-lsp/doc-values"
|
|
|
|
var DebugfsDocumentationAssignable = map[docvalues.EnumString]docvalues.Value{
|
|
docvalues.CreateEnumStringWithDoc(
|
|
"uid",
|
|
"Set the owner of the mountpoint.",
|
|
): docvalues.NumberValue{Min: &zero},
|
|
docvalues.CreateEnumStringWithDoc(
|
|
"gid",
|
|
"Set the group of the mountpoint.",
|
|
): docvalues.NumberValue{Min: &zero},
|
|
docvalues.CreateEnumStringWithDoc(
|
|
"mode",
|
|
"Sets the mode of the mountpoint.",
|
|
): docvalues.StringValue{},
|
|
}
|