MCPcopy Create free account

hub / github.com/d-tux/go-fstab / functions

Functions19 in github.com/d-tux/go-fstab

↓ 2 callersFunctionParseFile
ParseFile parses the given file
fstab.go:48
↓ 2 callersFunctionParseLine
ParseLine parses a single line (of an fstab). It will most frequently return a Mount; however, If a parsing error occurs, `err` will be non-nil and pr
mount.go:175
↓ 2 callersMethodformat
format serializes the object according to the given format
mount.go:80
↓ 1 callersMethodEquals
Equals compares 2 Mount objects
mount.go:134
↓ 1 callersMethodMntOpsString
MntOpsString returns the serialized MntOps value
mount.go:56
↓ 1 callersFunctionParse
(source io.Reader)
fstab.go:58
↓ 1 callersMethodSpecType
SpecType returns the device identifier type
mount.go:139
↓ 1 callersMethodString
String serializes the object into fstab format
mount.go:75
↓ 1 callersFunctionparseOptions
parseOptions parses the options field into an array of strings
mount.go:42
MethodIsNFS
()
mount.go:129
MethodIsSwap
()
mount.go:125
MethodPaddedString
PaddedString serializes a list of mounts to the fstab format with padding.
fstab.go:26
MethodPaddedString
PaddedString serializes the objet into fstab format with configurable column width. Each positional argument specifies the width for the column in ord
mount.go:87
FunctionParseProc
ParseProc parses procfs information
fstab.go:43
FunctionParseSystem
ParseSystem parses your system fstab ("/etc/fstab")
fstab.go:38
MethodSpecValue
SpecType returns the device identifier value; that is if Spec is "UUID=vogons-ate-my-sandwich", it will return "vogons-ate-my-sandwich"
mount.go:162
MethodString
String serializes a list of mounts to the fstab format
fstab.go:14
FunctionTestMountString
(t *testing.T)
mount_test.go:75
FunctionTestParseLine
(t *testing.T)
mount_test.go:57