Documentation ¶
Overview ¶
Helper functions for dealing with mount(8)-style flags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseOptions ¶
Parse an option string in the format accepted by mount(8) and generated for its external mount helpers.
It is assumed that option name and values do not contain commas, and that the first equals sign in an option is the name/value separator. There is no support for escaping.
For example, if the input is
user,foo=bar=baz,qux
then the following will be inserted into the map.
"user": "", "foo": "bar=baz", "qux": "",
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.