archivesecure

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUnsafePath

func IsUnsafePath(name string, opts PathCheckOptions) bool

IsUnsafePath returns true if the path is unsafe

Types

type PathCheckOptions

type PathCheckOptions struct {
	CheckSymlink bool // tar only
	CheckDevice  bool // tar only
}

Options for archive path validation

Jump to

Keyboard shortcuts

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