Skip to content

Commit

Permalink
🚜 Reorganize clay a bit and remove repository interface
Browse files Browse the repository at this point in the history
  • Loading branch information
wesen committed Jan 18, 2024
1 parent f0e138d commit efbe39c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/handlers/command-dir/command-dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package command_dir
import (
"fmt"
"github.com/gin-gonic/gin"
"github.com/go-go-golems/clay/pkg/repositories"
"github.com/go-go-golems/clay/pkg/repositories/fs"
"github.com/go-go-golems/glazed/pkg/cmds"
"github.com/go-go-golems/parka/pkg/glazed/handlers/datatables"
Expand Down Expand Up @@ -324,7 +323,7 @@ func (cd *CommandDirHandler) Serve(server *parka.Server, path string) error {

// getRepositoryCommand lookups a command in the given repository and return success as bool and the given command,
// or sends an error code over HTTP using the gin.Context.
func getRepositoryCommand(c *gin.Context, r repositories.Repository, commandPath string) (
func getRepositoryCommand(c *gin.Context, r *fs.Repository, commandPath string) (
cmds.Command,
bool,
) {
Expand Down

0 comments on commit efbe39c

Please sign in to comment.