Documentation ¶
Index ¶
- Variables
- func SyslModInit(modName string, logger *logrus.Logger) error
- type Fs
- func (fs *Fs) Chmod(name string, mode os.FileMode) error
- func (fs *Fs) Chtimes(name string, atime time.Time, mtime time.Time) error
- func (fs *Fs) Create(name string) (afero.File, error)
- func (fs *Fs) Mkdir(name string, perm os.FileMode) error
- func (fs *Fs) MkdirAll(path string, perm os.FileMode) error
- func (fs *Fs) Name() string
- func (fs *Fs) Open(name string) (afero.File, error)
- func (fs *Fs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error)
- func (fs *Fs) Remove(name string) error
- func (fs *Fs) RemoveAll(path string) error
- func (fs *Fs) Rename(oldname, newname string) error
- func (fs *Fs) Stat(name string) (os.FileInfo, error)
- type Module
- type Modules
Constants ¶
This section is empty.
Variables ¶
View Source
var SyslModules = os.Getenv("SYSL_MODULES") != "off"
Functions ¶
func SyslModInit ¶ added in v0.6.3
Assumes that a go module and a sysl module is mutually exclusive. This function makes the assumption that the CWD is not a go module since we hijack this command and use go.mod and possibly go.sum to determine whether the current folder/project is a sysl module
Types ¶
Click to show internal directories.
Click to hide internal directories.