filesys

package
v0.0.0-...-adc8199 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2024 License: AGPL-3.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlocksWordCount

func BlocksWordCount(ids []string) (ret *util.BlockStatResult)

func BuiltInTemplateFuncs

func BuiltInTemplateFuncs() (ret template.FuncMap)

func ContentStat

func ContentStat(content string) (ret *util.BlockStatResult)

func DocIAL

func DocIAL(absPath string) (ret map[string]string)

func FormatFloat

func FormatFloat(format string, n float64) string

func LoadTree

func LoadTree(boxID, p string, luteEngine *lute.Lute) (ret *parse.Tree, err error)

func LoadTreeByData

func LoadTreeByData(data []byte, boxID, p string, luteEngine *lute.Lute) (ret *parse.Tree, err error)

func LoadTrees

func LoadTrees(ids []string) (ret map[string]*parse.Tree)

func ParseJSON

func ParseJSON(jsonData []byte, options *parse.Options) (ret *parse.Tree, needFix bool, err error)

func ParseJSONWithoutFix

func ParseJSONWithoutFix(jsonData []byte, options *parse.Options) (ret *parse.Tree, err error)

func StatBlock

func StatBlock(id string) (ret *util.BlockStatResult)

func StatTree

func StatTree(id string) (ret *util.BlockStatResult)

func WriteTree

func WriteTree(tree *parse.Tree) (size uint64, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL