utils

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FolderSuffix string = "/"
)

Variables

This section is empty.

Functions

func CleanPathKeepingUnixSlash added in v1.5.6

func CleanPathKeepingUnixSlash(path string) string

In Windows, filepath.Clean operation will replace all slashes '/' to backslashes '\\' This can mess-up with the code that makes path comparisons - in indexer-app on Windows

func IsFolder

func IsFolder(path string) bool

func JoinPathKeepingUnixSlash added in v1.5.6

func JoinPathKeepingUnixSlash(elem ...string) string

func PlaceHolderFolder

func PlaceHolderFolder(path string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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