func handleRm(d *Server, ctx context.Context, cmd *wire.Command) (*wire.Response, error) { rmCmd := cmd.GetRmCommand() repoPath := rmCmd.RepoPath recursive := rmCmd.Recursive if err := d.Repo.OwnStore.Remove(repoPath, recursive); err != nil { return nil, err } return nil, nil }