filepath

package
v0.0.0-...-9799ab4 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	S_SEP string = "/"
	D_SEP string = "//"
)

Functions

func Join

func Join(segments ...string) string

func ReplaceDoubleSepsWithSingleOnes

func ReplaceDoubleSepsWithSingleOnes(value string) string

func SelectByPreferredExtension

func SelectByPreferredExtension(files []string, exts []string) string

func Split

func Split(value string) []string

func StringIsSeps

func StringIsSeps(value string) bool

func TrimLeftSeps

func TrimLeftSeps(value string) string

func TrimRightSeps

func TrimRightSeps(value string) string

func TrimSeps

func TrimSeps(value string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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