Documentation
¶
Index ¶
Constants ¶
View Source
const ( MACOS string = "darwin" WINDOWS string = "windows" LINUX string = "linux" )
Variables ¶
View Source
var ErrOperatingSystem = errors.New("unsupported operating system")
Functions ¶
func GetDataDirectory ¶
Get the Path to the systems data directory
func GetStoragePath ¶
Get the final path to a package in the data directory given a namespace and a name.
func OpenTypstTOML ¶
func OpenTypstTOML(directory string) (i.PackageInfo, error)
Try to open the Typst TOML file. Returns an error if not existing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.