Documentation ¶
Index ¶
- Constants
- func CreateFromPackage(path string, pkg vpkg.Reader) error
- func NewImportSharedObject(projectPath string, excludeDefaultLibs bool, logger elog.View) (*importSharedObjectsOperation, error)
- func NewProject(path string, flagVCFG *vcfg.VCFG, logger elog.View) error
- func Split(src string) (path string, target string)
- func TarFromPackage(w io.Writer, pkg vpkg.Reader) error
- type Project
- type ProjectData
- type Target
- type TargetData
Constants ¶
View Source
const ( // FileName .. FileName = ".vorteilproject" UnpackTempPattern = "vorteil-unpack-" )
Variables ¶
This section is empty.
Functions ¶
func CreateFromPackage ¶
CreateFromPackage tars the reader and proceeds to unpack on path
func NewImportSharedObject ¶
func NewImportSharedObject(projectPath string, excludeDefaultLibs bool, logger elog.View) (*importSharedObjectsOperation, error)
NewImportSharedObject : This function is used to create and initialize a importSharedObjectsOperation.
This function requires three args: projectPath: The target project you wish to scan, and import shared objects to. excludeDefaultLibs: Whether or not to exclude default libraries. logger: logger object to log with Once initialized a importSharedObjectsOperation object will be returned. Running importSharedObjectsOperation.Start() will then begin the operation.
func NewProject ¶
NewProject intializes a new project that vorteil is able to run
Types ¶
type ProjectData ¶
type ProjectData struct { IgnorePatterns []string `toml:"ignore" json:"ignore"` Targets []TargetData `toml:"target,omitempty" json:"target"` }
ProjectData ..
Click to show internal directories.
Click to hide internal directories.