aboutsummaryrefslogtreecommitdiff
path: root/testdata/goembed
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-07-26 09:58:21 +0700
committerShulhan <ms@kilabit.info>2024-07-26 09:59:44 +0700
commit375915e2ad921008cf2813b67a94f6e753537a72 (patch)
tree3e7d9a944cec856734778f07ec1624bae7697a27 /testdata/goembed
parent17d4e27f73159acab60ea445884addb895cbdec2 (diff)
downloadciigo-375915e2ad921008cf2813b67a94f6e753537a72.tar.xz
all: update dependencies
Update on git.sr.ht/~shulhan/pakakeh.go fixes the "serve" command where new files on the root of served directory not detected automatically.
Diffstat (limited to 'testdata/goembed')
-rw-r--r--testdata/goembed/GoEmbed_test.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/testdata/goembed/GoEmbed_test.txt b/testdata/goembed/GoEmbed_test.txt
index 00eda9c..be02c2f 100644
--- a/testdata/goembed/GoEmbed_test.txt
+++ b/testdata/goembed/GoEmbed_test.txt
@@ -8,12 +8,12 @@ import (
"git.sr.ht/~shulhan/pakakeh.go/lib/memfs"
)
-func generate_testdata_in_() *memfs.Node {
+func generate_testdata_in() *memfs.Node {
var node = &memfs.Node{
- SysPath: "testdata/in/",
+ SysPath: "testdata/in",
Path: "/",
ContentType: "",
- GenFuncName: "generate_testdata_in_",
+ GenFuncName: "generate_testdata_in",
}
node.SetMode(0o20000000755)
node.SetName("/")
@@ -93,7 +93,7 @@ func init() {
memfsIn = &memfs.MemFS{
PathNodes: memfs.NewPathNode(),
Opts: &memfs.Options{
- Root: "testdata/in/",
+ Root: "testdata/in",
MaxFileSize: 5242880,
Includes: []string{
},
@@ -112,7 +112,7 @@ func init() {
},
}
memfsIn.PathNodes.Set("/",
- _memfsIn_getNode(memfsIn, "/", generate_testdata_in_))
+ _memfsIn_getNode(memfsIn, "/", generate_testdata_in))
memfsIn.PathNodes.Set("/clu",
_memfsIn_getNode(memfsIn, "/clu", generate_testdata_in_clu))
memfsIn.PathNodes.Set("/clu/de",