summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
authorsatotake <doublequotation@gmail.com>2018-08-06 00:18:13 +0900
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-06 09:54:26 +0200
commit71931b30b1813b146aaa60f5cdab16c0f9ebebdb (patch)
treeed947a0ba88fd484a87e84166d95b4cc5c6891c0 /tpl
parentd40116e5f941e4734ed3bed69dce8ffe11fc76b2 (diff)
Remove alias of os.Stat
Diffstat (limited to 'tpl')
-rw-r--r--tpl/os/init.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/tpl/os/init.go b/tpl/os/init.go
index 0b52ddea2..3ef8702d6 100644
--- a/tpl/os/init.go
+++ b/tpl/os/init.go
@@ -55,13 +55,6 @@ func init() {
},
)
- ns.AddMethodMapping(ctx.Stat,
- []string{"fileStat"},
- [][2]string{
- {`{{ (fileStat "files/README.txt").Size }}`, `11`},
- },
- )
-
return ns
}