fs

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanJoin added in v0.0.7

func CleanJoin(prefix string, elem string) (string, error)

CleanJoin checks to make sure that the prefix path remains after the join, this is to control for path traversal

func FileExists

func FileExists(path string) bool

FileExists checks to see if a path exists and is a file

func PathExists

func PathExists(path string) bool

PathExists checks to see if a path exists

Types

This section is empty.

Jump to

Keyboard shortcuts

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