aboutsummaryrefslogtreecommitdiff
path: root/repository/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/config.go')
-rw-r--r--repository/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/repository/config.go b/repository/config.go
index de33e2c3..a6cf28e3 100644
--- a/repository/config.go
+++ b/repository/config.go
@@ -7,6 +7,8 @@ import (
"codeberg.org/lindenii/furgit/config"
)
+// parseRepositoryConfig loads the configuration of the repository through
+// finding the config file in the repo root, and parses the config.
func parseRepositoryConfig(root *os.Root) (*config.Config, error) {
configFile, err := root.Open("config")
if err != nil {