func handleStage(d *Server, ctx context.Context, cmd *wire.Command) (*wire.Response, error) { filePath := cmd.GetAddCommand().FilePath repoPath := cmd.GetAddCommand().RepoPath err := d.Repo.OwnStore.Stage(filePath, repoPath) if err != nil { return nil, err } return nil, nil }