Documentation ¶
Index ¶
- type BuildType
- type Session
- func (s *Session) BuildContext(buildType BuildType, suffix string) *build.Context
- func (s *Session) Filesystem(dir string) billy.Filesystem
- func (s *Session) GoPath() billy.Filesystem
- func (s *Session) HasSource(path string) bool
- func (s *Session) SetSource(source map[string]map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { // Fileserver for storing and serving generated artifacts Fileserver services.Fileserver // AssetsArchives are the pre-compiled standard library archives created in the generation process... // the format is map[path]map[minified]*compiler.Archive AssetsArchives map[string]map[bool]*compiler.Archive // contains filtered or unexported fields }
func (*Session) BuildContext ¶
func (*Session) Filesystem ¶
Gets either sourcefs, rootfs or pathfs depending on the path, and if the package is part of source
Click to show internal directories.
Click to hide internal directories.