Versions in this module Expand all Collapse all v0 v0.0.13 Jun 5, 2023 v0.0.12 Jun 1, 2023 Changes in this version + func MakeAttrs(attrs map[string]string) map[string]string + func NullDebugLogger(fmt string, args ...interface{}) + type Creator interface + Create func(Tree) error + type DebugLogger func(string, ...interface{}) + var DebugLog DebugLogger = NullDebugLogger + type FakeSysfs struct + func NewFakeSysfs(base string) (*FakeSysfs, error) + func (fs *FakeSysfs) AddTree(entries ...string) Tree + func (fs *FakeSysfs) Base() string + func (fs *FakeSysfs) Root() Tree + func (fs *FakeSysfs) Setup() error + func (fs *FakeSysfs) Teardown() error + type Tree interface + Add func(name string, attrs map[string]string) Tree + Attrs func() map[string]string + Create func() error + Items func() []Tree + Name func() string + SetAttrs func() error + func NewTree(name string, attrs map[string]string) Tree