package internal
import "github.com/cyphar/filepath-securejoin/pathrs-lite/internal"
Package internal contains unexported common code for filepath-securejoin.
Index ¶
Variables ¶
var ( // ErrPossibleAttack indicates that some attack was detected. ErrPossibleAttack = errors.New("possible attack detected") // ErrPossibleBreakout indicates that during an operation we ended up in a // state that could be a breakout but we detected it. ErrPossibleBreakout = errors.New("possible breakout detected") // ErrInvalidDirectory indicates an unlinked directory. ErrInvalidDirectory = errors.New("wandered into deleted directory") // ErrDeletedInode indicates an unlinked file (non-directory). ErrDeletedInode = errors.New("cannot verify path of deleted inode") )
Source Files ¶
Directories ¶
| Path | Synopsis |
|---|---|
| pathrs-lite/internal/assert | Package assert provides some basic assertion helpers for Go. |
| pathrs-lite/internal/fd | Package fd provides a drop-in interface-based replacement of *os.File that allows for things like noop-Close wrappers to be used. |
| pathrs-lite/internal/linux | Package linux returns information about what features are supported on the running kernel. |
| pathrs-lite/internal/testutils | Package testutils provides some internal helpers for tests. |
- Version
- v0.5.0
- Published
- Sep 25, 2025
- Platform
- windows/amd64
- Imports
- 1 packages
- Last checked
- 1 hour ago –
Tools for package owners.