MCPcopy
hub / github.com/redspread/spread / projectOrDie

Method projectOrDie

cli/cli.go:41–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func (c SpreadCli) projectOrDie() *project.Project {
42 proj, err := c.project()
43 if err != nil {
44 c.fatalf("%v", err)
45 }
46 return proj
47}
48
49func (c SpreadCli) project() (*project.Project, error) {
50 if len(c.workDir) == 0 {

Callers 11

PushMethod · 0.95
StatusMethod · 0.95
ExecGitCmdMethod · 0.95
DiffMethod · 0.95
ParamMethod · 0.95
PullMethod · 0.95
LinkMethod · 0.95
ShowMethod · 0.95
AddMethod · 0.95
RemoteMethod · 0.95
CommitMethod · 0.95

Calls 2

projectMethod · 0.95
fatalfMethod · 0.95

Tested by

no test coverage detected