summaryrefslogtreecommitdiff
path: root/gitConfig.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-07 18:45:34 -0600
committerJeff Carr <[email protected]>2025-01-07 18:45:34 -0600
commitd9a54a6c31770f13fd77aecd012e1158b6140616 (patch)
tree3448849bf60da011f4c2fda7ba0927efcbc8de0e /gitConfig.go
parent9221f83aaf06eb53b63f77a1e13887aad143e070 (diff)
still rm old code
Diffstat (limited to 'gitConfig.go')
-rw-r--r--gitConfig.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitConfig.go b/gitConfig.go
index ddfaa8c..c397768 100644
--- a/gitConfig.go
+++ b/gitConfig.go
@@ -223,6 +223,7 @@ func (rs *RepoStatus) GitURL() string {
return ""
}
+/*
func (rs *RepoStatus) GitLsFiles() (bool, string) {
r := rs.Run([]string{"git", "ls-files"})
output := strings.Join(r.Stdout, "\n")
@@ -233,6 +234,7 @@ func (rs *RepoStatus) GitLsFiles() (bool, string) {
}
return true, output
}
+*/
func (rs *RepoStatus) ReadOnly() bool {
if rs.readOnly.String() == "true" {