vproject

package
v0.11.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvailActions added in v0.3.1

func AvailActions(title string, currTags []string, availTags []string, ps *cutil.PageState) string

func DetailBuild

func DetailBuild(build *project.Build, as *app.State, ps *cutil.PageState) string

func DetailMetadata

func DetailMetadata(info *project.Info, as *app.State, ps *cutil.PageState) string

func DetailModules

func DetailModules(modKeys []string, mods module.Modules, as *app.State, ps *cutil.PageState) string

func DetailSettings

func DetailSettings(prj *project.Project, as *app.State, ps *cutil.PageState) string

func DetailTheme

func DetailTheme(key string, t *theme.Theme, title string, icon string, as *app.State, ps *cutil.PageState) string

func StreamAvailActions added in v0.3.1

func StreamAvailActions(qw422016 *qt422016.Writer, title string, currTags []string, availTags []string, ps *cutil.PageState)

func StreamDetailBuild

func StreamDetailBuild(qw422016 *qt422016.Writer, build *project.Build, as *app.State, ps *cutil.PageState)

func StreamDetailMetadata

func StreamDetailMetadata(qw422016 *qt422016.Writer, info *project.Info, as *app.State, ps *cutil.PageState)

func StreamDetailModules

func StreamDetailModules(qw422016 *qt422016.Writer, modKeys []string, mods module.Modules, as *app.State, ps *cutil.PageState)

func StreamDetailSettings

func StreamDetailSettings(qw422016 *qt422016.Writer, prj *project.Project, as *app.State, ps *cutil.PageState)

func StreamDetailTheme

func StreamDetailTheme(qw422016 *qt422016.Writer, key string, t *theme.Theme, title string, icon string, as *app.State, ps *cutil.PageState)

func StreamSummary

func StreamSummary(qw422016 *qt422016.Writer, prj *project.Project, title string, gitResult *git.Result, args util.ValueMap, act *action.Type, ex exec.Execs, ps *cutil.PageState, path ...string)

func StreamTable

func StreamTable(qw422016 *qt422016.Writer, prjs project.Projects, tags []string, full bool, ex exec.Execs, as *app.State, ps *cutil.PageState)

func Summary

func Summary(prj *project.Project, title string, gitResult *git.Result, args util.ValueMap, act *action.Type, ex exec.Execs, ps *cutil.PageState, path ...string) string

func Table

func Table(prjs project.Projects, tags []string, full bool, ex exec.Execs, as *app.State, ps *cutil.PageState) string

func WriteAvailActions added in v0.3.1

func WriteAvailActions(qq422016 qtio422016.Writer, title string, currTags []string, availTags []string, ps *cutil.PageState)

func WriteDetailBuild

func WriteDetailBuild(qq422016 qtio422016.Writer, build *project.Build, as *app.State, ps *cutil.PageState)

func WriteDetailMetadata

func WriteDetailMetadata(qq422016 qtio422016.Writer, info *project.Info, as *app.State, ps *cutil.PageState)

func WriteDetailModules

func WriteDetailModules(qq422016 qtio422016.Writer, modKeys []string, mods module.Modules, as *app.State, ps *cutil.PageState)

func WriteDetailSettings

func WriteDetailSettings(qq422016 qtio422016.Writer, prj *project.Project, as *app.State, ps *cutil.PageState)

func WriteDetailTheme

func WriteDetailTheme(qq422016 qtio422016.Writer, key string, t *theme.Theme, title string, icon string, as *app.State, ps *cutil.PageState)

func WriteSummary

func WriteSummary(qq422016 qtio422016.Writer, prj *project.Project, title string, gitResult *git.Result, args util.ValueMap, act *action.Type, ex exec.Execs, ps *cutil.PageState, path ...string)

func WriteTable

func WriteTable(qq422016 qtio422016.Writer, prjs project.Projects, tags []string, full bool, ex exec.Execs, as *app.State, ps *cutil.PageState)

Types

type Detail

type Detail struct {
	layout.Basic
	Project   *project.Project
	Modules   module.Modules
	GitResult *git.Result
	Execs     exec.Execs
}

func (*Detail) Body

func (p *Detail) Body(as *app.State, ps *cutil.PageState) string

func (*Detail) StreamBody

func (p *Detail) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Detail) WriteBody

func (p *Detail) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

type Edit

type Edit struct {
	layout.Basic
	Project *project.Project
}

func (*Edit) Body

func (p *Edit) Body(as *app.State, ps *cutil.PageState) string

func (*Edit) StreamBody

func (p *Edit) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Edit) WriteBody

func (p *Edit) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

type FileStats added in v0.2.38

type FileStats struct {
	layout.Basic
	Project *project.Project
	Path    []string
	Ext     string
	Files   stats.FileStats
}

func (*FileStats) Body added in v0.2.38

func (p *FileStats) Body(as *app.State, ps *cutil.PageState) string

func (*FileStats) StreamBody added in v0.2.38

func (p *FileStats) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*FileStats) WriteBody added in v0.2.38

func (p *FileStats) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

type Files

type Files struct {
	layout.Basic
	Project *project.Project
	Path    []string
}

func (*Files) Body

func (p *Files) Body(as *app.State, ps *cutil.PageState) string

func (*Files) StreamBody

func (p *Files) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Files) WriteBody

func (p *Files) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

type List

type List struct {
	layout.Basic
	Projects project.Projects
	Execs    exec.Execs
	Tags     []string
}

func (*List) Body

func (p *List) Body(as *app.State, ps *cutil.PageState) string

func (*List) StreamBody

func (p *List) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*List) WriteBody

func (p *List) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
type Search struct {
	layout.Basic
	Params  *search.Params
	Project *project.Project
	Results result.Results
	Errors  []error
}

func (*Search) Body

func (p *Search) Body(as *app.State, ps *cutil.PageState) string

func (*Search) StreamBody

func (p *Search) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Search) WriteBody

func (p *Search) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

type SearchAll

type SearchAll struct {
	layout.Basic
	Params   *search.Params
	Projects project.Projects
	Results  map[string]result.Results
	Tags     []string
}

func (*SearchAll) Body

func (p *SearchAll) Body(as *app.State, ps *cutil.PageState) string

func (*SearchAll) StreamBody

func (p *SearchAll) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*SearchAll) WriteBody

func (p *SearchAll) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

type ThemePalette added in v0.10.14

type ThemePalette struct {
	layout.Basic
	Project string
	Icon    string
	Palette string
	Themes  theme.Themes
	Title   string
}

func (*ThemePalette) Body added in v0.10.14

func (p *ThemePalette) Body(as *app.State, ps *cutil.PageState) string

func (*ThemePalette) StreamBody added in v0.10.14

func (p *ThemePalette) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*ThemePalette) WriteBody added in v0.10.14

func (p *ThemePalette) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL