builder

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildModeInvalidType = os.ModeSymlink | os.ModeNamedPipe | os.ModeSocket | os.ModeDevice

BuildModeInvalidType is invalid types of files which copy builder cannot handle.

Functions

func Build

func Build(full bool) error

Build creates/updates ~/.vim/pack/volt directory

Types

type BaseBuilder

type BaseBuilder struct{}

BaseBuilder is a base struct which all builders must implement

func (*BaseBuilder) HasMagicComment

func (*BaseBuilder) HasMagicComment(dst string) bool

HasMagicComment returns true if the magic comment exists

type Builder

type Builder interface {
	Build(buildInfo *buildinfo.BuildInfo, buildReposMap map[pathutil.ReposPath]*buildinfo.Repos) error
}

Builder creates/updates ~/.vim/pack/volt directory

Jump to

Keyboard shortcuts

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