Versions in this module Expand all Collapse all v0 v0.0.3 May 6, 2015 v0.0.2 May 6, 2015 Changes in this version + var CLI = flags.NewNamedParser("src", flags.Default) + var GlobalOpt struct + var OpenStore func() (interface{}, error) = storeCmd.store + var Version string + func CloseAll(files map[string]io.ReadCloser) + func ColorizeDiff(diff []byte) []byte + func CreateMakefile(execOpt ToolchainExecOpt, cacheOpt BuildCacheOpt) (*makex.Makefile, error) + func Import(buildDataFS vfs.FileSystem, stor interface{}, opt ImportOpt) error + func InitStoreCmds(c *flags.Command) + func Main() error + func NewAPIClientWithAuthIfPresent() *sourcegraph.Client + func OpenInputFiles(extraArgs []string) map[string]io.ReadCloser + func PrintJSON(v interface{}, prefix string) + func SetOptionDefaultValue(g *flags.Group, longName string, defaultVal ...string) + func SourceUnitMatchesArgs(specified []string, u *unit.SourceUnit) bool + type APICmd struct + func (c *APICmd) Execute(args []string) error + type APIDepsCmd struct + Args struct{ ... } + func (c *APIDepsCmd) Execute(args []string) error + type APIDescribeCmd struct + File string + NoExamples bool + StartByte uint32 + func (c *APIDescribeCmd) Execute(args []string) error + type APIListCmd struct + File string + NoDefs bool + NoDocs bool + NoRefs bool + func (c *APIListCmd) Execute(args []string) error + type APIUnitsCmd struct + Args struct{ ... } + func (c *APIUnitsCmd) Execute(args []string) error + type BuildCacheOpt struct + NoCacheRead bool + NoCacheWrite bool + type BuildCmd struct + CommitID string + Priority int + func (c *BuildCmd) Execute(args []string) error + type BuildDataCatCmd struct + Args struct{ ... } + func (c *BuildDataCatCmd) Execute(args []string) error + type BuildDataCmd struct + func (c *BuildDataCmd) Execute(args []string) error + type BuildDataFetchCmd struct + DryRun bool + func (c *BuildDataFetchCmd) Execute(args []string) error + type BuildDataListCmd struct + Args struct{ ... } + Long bool + Recursive bool + Type string + URLs bool + func (c *BuildDataListCmd) Execute(args []string) error + type BuildDataRemoveCmd struct + All bool + Args struct{ ... } + Recursive bool + func (c *BuildDataRemoveCmd) Execute(args []string) error + type BuildDataUploadCmd struct + DryRun bool + func (c *BuildDataUploadCmd) Execute(args []string) error + type BuildsCmd struct + CommitID string + Direction string + Ended bool + Failed bool + N int + Queued bool + Sort string + Succeeded bool + func (c *BuildsCmd) Execute(args []string) error + type ConfigCmd struct + Args struct{ ... } + Output struct{ ... } + Quiet bool + func (c *ConfigCmd) Execute(args []string) error + type DiffCmd struct + Args struct{ ... } + func (c *DiffCmd) Execute(args []string) error + type Directory string + func (d Directory) Complete(match string) []flags.Completion + func (d Directory) String() string + type DoAllCmd struct + Dir Directory + func (c *DoAllCmd) Execute(args []string) error + type FmtCmd struct + Format string + Object string + ObjectType string + UnitType string + func (c *FmtCmd) Execute(args []string) error + func (c *FmtCmd) Get() (string, error) + type ImportOpt struct + CommitID string + DryRun bool + NoIndex bool + Repo string + Unit string + UnitType string + Verbose bool + type InfoCmd struct + func (c *InfoCmd) Execute(args []string) error + type LintCmd struct + Args struct{ ... } + NoCheckFiles bool + NoCheckResolve bool + Repo string + func (c *LintCmd) Execute(args []string) error + type LoginCmd struct + Key string + NoVerify bool + UID int + func (c *LoginCmd) Execute(args []string) error + type MakeCmd struct + Args struct{ ... } + Dir Directory + DryRun bool + Quiet bool + func (c *MakeCmd) Execute(args []string) error + type MakefileCmd struct + func (c *MakefileCmd) Execute(args []string) error + type NormalizeGraphDataCmd struct + Dir string + UnitType string + func (c *NormalizeGraphDataCmd) Execute(args []string) error + type PushCmd struct + func (c *PushCmd) Execute(args []string) error + type QueryCmd struct + Args struct{ ... } + func (c *QueryCmd) Execute(args []string) error + type RemoteAddCmd struct + CloneURL string + VCSType string + func (c *RemoteAddCmd) Execute(args []string) error + type RemoteCmd struct + RepoURI string + func (c *RemoteCmd) Execute(args []string) error + type RemoteImportBuildCmd struct + CommitID string + func (c *RemoteImportBuildCmd) Execute(args []string) error + type Repo struct + CloneURL string + CommitID string + RootDir string + VCSType string + func OpenRepo(dir string) (*Repo, error) + func (c *Repo) URI() string + type RepoCmd struct + func (c *RepoCmd) Execute(args []string) error + type SelfupdateCmd struct + func (c *SelfupdateCmd) Execute(args []string) error + type StoreCmd struct + Config string + Root string + Type string + func (c *StoreCmd) Execute(args []string) error + type StoreDefsCmd struct + CommitID string + File string + Filter store.DefFilter + Limit int + Offset int + Path string + Query string + Repo string + RepoCommitIDs string + Unit string + UnitType string + func (c *StoreDefsCmd) Execute(args []string) error + func (c *StoreDefsCmd) Get() ([]*graph.Def, error) + type StoreImportCmd struct + Quiet bool + RemoteBuildData bool + Sample bool + SampleDefs int + SampleImportOnly bool + SampleRefs int + func (c *StoreImportCmd) Execute(args []string) error + type StoreIndexCmd struct + func (c *StoreIndexCmd) Execute(args []string) error + func (c StoreIndexCmd) IndexCriteria() store.IndexCriteria + type StoreIndexesCmd struct + func (c *StoreIndexesCmd) Execute(args []string) error + func (c StoreIndexesCmd) IndexCriteria() store.IndexCriteria + type StoreRefsCmd struct + Broken bool + CommitID string + Coverage bool + DefPath string + DefRepo string + DefUnit string + DefUnitType string + End uint32 + File string + Format string + Limit int + Offset int + Repo string + RepoCommitIDs string + Start uint32 + Unit string + UnitType string + func (c *StoreRefsCmd) Execute(args []string) error + func (c *StoreRefsCmd) Get() ([]*graph.Ref, error) + type StoreReposCmd struct + IDContains string + func (c *StoreReposCmd) Execute(args []string) error + type StoreUnitsCmd struct + CommitID string + File string + Name string + Repo string + RepoCommitIDs string + Type string + func (c *StoreUnitsCmd) Execute(args []string) error + type StoreVersionsCmd struct + CommitIDPrefix string + Repo string + RepoCommitIDs string + func (c *StoreVersionsCmd) Execute(args []string) error + type TestCmd struct + Args struct{ ... } + GenerateExpected bool + func (c *TestCmd) Execute(args []string) error + type ToolCmd struct + Args struct{ ... } + func (c *ToolCmd) Execute(args []string) error + type ToolName string + func (t ToolName) Complete(match string) []flags.Completion + type ToolchainAddCmd struct + Args struct{ ... } + Dir string + Force bool + func (c *ToolchainAddCmd) Execute(args []string) error + type ToolchainBuildCmd struct + Args struct{ ... } + func (c *ToolchainBuildCmd) Execute(args []string) error + type ToolchainCmd struct + func (c *ToolchainCmd) Execute(args []string) error + type ToolchainExecOpt struct + ExeMethods string + func (o *ToolchainExecOpt) ToolchainMode() toolchain.Mode + type ToolchainGetCmd struct + Args struct{ ... } + Update bool + func (c *ToolchainGetCmd) Execute(args []string) error + type ToolchainInstallCmd struct + Args struct{ ... } + func (c *ToolchainInstallCmd) Execute(args []string) error + type ToolchainInstallStdCmd struct + Skip []string + func (c *ToolchainInstallStdCmd) Execute(args []string) error + type ToolchainListCmd struct + func (c *ToolchainListCmd) Execute(args []string) error + type ToolchainListToolsCmd struct + Args struct{ ... } + Op string + SourceUnitType string + func (c *ToolchainListToolsCmd) Execute(args []string) error + type ToolchainPath string + func (t ToolchainPath) Complete(match string) []flags.Completion + type ToolchainTempDirCmd struct + Args struct{ ... } + func (c *ToolchainTempDirCmd) Execute(args []string) error + type UnitsCmd struct + Args struct{ ... } + Output struct{ ... } + func (c *UnitsCmd) Execute(args []string) error + type VersionCmd struct + NoCheck bool + func (c *VersionCmd) Execute(args []string) error + type WhoamiCmd struct + NoVerify bool + func (c *WhoamiCmd) Execute(args []string) error