Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileConfig ¶
type FileConfig struct { BaseDir string `json:"base_dir,omitempty"` FilePath string `json:"-"` //absolute path }
func (*FileConfig) AbsBaseDir ¶
func (c *FileConfig) AbsBaseDir() string
func (*FileConfig) ResolveAbsolute ¶
func (c *FileConfig) ResolveAbsolute(targetPath string) string
func (*FileConfig) ResolveRelative ¶
func (c *FileConfig) ResolveRelative(targetPath string) string
func (*FileConfig) SetFilePath ¶
func (c *FileConfig) SetFilePath(targetPath string)
Click to show internal directories.
Click to hide internal directories.