Documentation ¶
Index ¶
Constants ¶
View Source
const (
PathToExports = "/etc/exports"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Path string Addr string Uid string Gid string OptAllDir string ReadOnly bool Comment string }
func Parse ¶
func Parse(line string) (*Configuration, error)
func (*Configuration) String ¶
func (c *Configuration) String() string
type Exports ¶
type Exports []*Configuration
func (*Exports) AddrExists ¶
func (*Exports) AlreadyExists ¶
func (e *Exports) AlreadyExists(c *Configuration) bool
func (*Exports) PathExists ¶
Click to show internal directories.
Click to hide internal directories.