package util
import "git.dotya.ml/wanderer/math-optim/util"
Index ¶
- func CreateFolder(path string) error
- func CreatePath(path string) error
- func SanitiseFName(s string) string
Functions ¶
func CreateFolder ¶
CreateFolder creates a folder at the specified path, if it doesn't already exist.
func CreatePath ¶
CreatePath creates all folders in the provided path, if they don't already exist.
func SanitiseFName ¶
SanitiseFName clears spaces from the string that is supposed to be a file name so that the result is safer to use with e.g. latex.
Source Files ¶
util.go
- Version
- v0.0.0-20230224152531-7a5de808e98c (latest)
- Published
- Feb 24, 2023
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 2 months ago –
Tools for package owners.