Documentation ¶
Index ¶
- Constants
- Variables
- func Append(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Basename(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Create(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Dirname(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Exist(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Glob(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Gzip(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Ls(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Md5(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func ReadAll(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Remove(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func Stat(thread *starlark.Thread, _ *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
Constants ¶
View Source
const ModuleName = "fs.star"
View Source
const Name = "fs"
Variables ¶
View Source
var Module = &starlarkstruct.Module{ Name: "fs", Members: starlark.StringDict{ "readall": localctx.AddBuiltin("fs.readall", ReadAll), "create": localctx.AddBuiltin("fs.create", Create), "append": localctx.AddBuiltin("fs.append", Append), "md5": localctx.AddBuiltin("fs.md5", Md5), "gzip": localctx.AddBuiltin("fs.gzip", Gzip), "exist": localctx.AddBuiltin("fs.exist", Exist), "stat": localctx.AddBuiltin("fs.stat", Stat), "glob": localctx.AddBuiltin("fs.glob", Glob), "ls": localctx.AddBuiltin("fs.ls", Ls), "basename": localctx.AddBuiltin("fs.basename", Basename), "dirname": localctx.AddBuiltin("fs.dirname", Dirname), "rm": localctx.AddBuiltin("fs.rm", Remove), }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.