util

package
v0.0.0-...-7a5de80 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFolder

func CreateFolder(path string) error

CreateFolder creates a folder at the specified path, if it doesn't already exist.

func CreatePath

func CreatePath(path string) error

CreatePath creates all folders in the provided path, if they don't already exist.

func SanitiseFName

func SanitiseFName(s string) string

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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