partage

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/partage.git
Log | Files | Refs | README | LICENSE

commit 5cf182f6f8ce9e5fa2ace974c8f9378c1ce8fdf4
parent 6170af9c17baab43acc0f07a43c8f1080deda3ca
Author: Willy Goiffon <dev@z3bra.org>
Date:   Wed, 20 Oct 2021 22:28:11 +0200

Delete useless metactx param

Diffstat:
Mpartage.go | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/partage.go b/partage.go @@ -47,7 +47,6 @@ var conf struct { filepath string metapath string filectx string - metactx string maxsize int64 expiry int64 } @@ -261,7 +260,6 @@ func parseconfig(file string) error { conf.filepath = cfg.Section("").Key("filepath").String() conf.metapath = cfg.Section("").Key("metapath").String() conf.filectx = cfg.Section("").Key("filectx").String() - conf.metactx = cfg.Section("").Key("metactx").String() conf.rootdir = cfg.Section("").Key("rootdir").String() conf.chroot = cfg.Section("").Key("chroot").String() conf.tmplpath = cfg.Section("").Key("tmplpath").String() @@ -304,7 +302,6 @@ func main() { conf.filepath = "files" conf.metapath = "meta" conf.filectx = "/f/" - conf.metactx = "/m/" conf.maxsize = 34359738368 conf.expiry = 86400