aboutsummaryrefslogtreecommitdiff
path: root/forged/internal/ipc/git2c/cmd_treeraw.go
diff options
context:
space:
mode:
Diffstat (limited to 'forged/internal/ipc/git2c/cmd_treeraw.go')
-rw-r--r--forged/internal/ipc/git2c/cmd_treeraw.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/forged/internal/ipc/git2c/cmd_treeraw.go b/forged/internal/ipc/git2c/cmd_treeraw.go
index 89b702c..d2d5ac2 100644
--- a/forged/internal/ipc/git2c/cmd_treeraw.go
+++ b/forged/internal/ipc/git2c/cmd_treeraw.go
@@ -9,8 +9,6 @@ import (
"io"
)
-// CmdTreeRaw queries git2d for a tree or blob object at the given path within the repository.
-// It returns either a directory listing or the contents of a file.
func (c *Client) CmdTreeRaw(repoPath, pathSpec string) ([]TreeEntry, string, error) {
err := c.writer.WriteData([]byte(repoPath))
if err != nil {