Работа над конфигом repko, работа над интеграцией в deb пакет repko
This commit is contained in:
parent
58b258be29
commit
d3fd4f5858
7 changed files with 101 additions and 11 deletions
|
|
@ -10,12 +10,10 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
const ConfDir = "./confs/"
|
||||
|
||||
func LoadApplications() []types.PackageApplication {
|
||||
var apps []types.PackageApplication
|
||||
|
||||
err := filepath.WalkDir(ConfDir, func(path string, d fs.DirEntry, err error) error {
|
||||
err := filepath.WalkDir(types.ConfsDir, func(path string, d fs.DirEntry, err error) error {
|
||||
if err != nil || d == nil || d.IsDir() {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue