sanitize

package
v0.0.0-...-23397e3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const PATH_MAX_LENGTH = 32767 // Windows Maximum Path Length for UNC paths

Variables

This section is empty.

Functions

func PathDirectory

func PathDirectory(directory string) string

PathDirectory sanitizes a directory path (without filename)

func PathFile

func PathFile(filename string) string

PathFile sanitizes the filename.

func Username

func Username(input string) string

Username sanitizes the username.

Types

This section is empty.

Jump to

Keyboard shortcuts

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