Execute runs the command.
(args []string)
| 24 | |
| 25 | // Execute runs the command. |
| 26 | func (c *CmdUpdateServerInfo) Execute(args []string) error { |
| 27 | r, err := git.PlainOpen(".") |
| 28 | if err != nil { |
| 29 | return err |
| 30 | } |
| 31 | |
| 32 | fs := r.Storer.(*filesystem.Storage).Filesystem() |
| 33 | return serverinfo.UpdateServerInfo(r.Storer, fs) |
| 34 | } |
nothing calls this directly
no test coverage detected