Documentation
¶
Index ¶
- Constants
- Variables
- func AssertPathExists(paths ...string) error
- func AssertPathNotExists(paths ...string) error
- func Base64Decode(b []byte) ([]byte, error)
- func Close(o io.Closer)
- func CopyDirectory(src, dest string) error
- func EnsureDirectoryExists(path string) error
- func IsIrmaconfDir(dir string) (bool, error)
- func IsScheme(dir string, expectSignature bool) (bool, error)
- func IsTempSchemeDir(dirname string) bool
- func IterateSubfolders(path string, handler func(string, os.FileInfo) error) error
- func NewPairingCode() string
- func NewRandomString(count int, characterSet string) string
- func NewSessionToken() string
- func ParseLDContext(bts []byte) (string, error)
- func ParseNestedLDContext(bts []byte) (string, error)
- func PathExists(path string) (bool, error)
- func RandomBigInt(limit *big.Int) *big.Int
- func ReadKey(key, path string) ([]byte, error)
- func SaveFile(fpath string, content []byte) (err error)
- func SchemeFilename(dir string) (string, error)
- func SchemeInfo(filename string, bts []byte) (string, string, error)
- func Stat(path string) (os.FileInfo, bool, error)
- func Unmarshal(filename string, bts []byte, dest interface{}) error