pathx

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package pathx is the segment-aware path prefix test that the edge router, the embedded gateway, the Site bundle, the contract validator and the local API's facet check share (ADR-0310 Decision 5).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasPrefix

func HasPrefix(p, prefix string) bool

HasPrefix reports whether p is prefix or lies under it: "/kv" covers "/kv" and "/kv/a", not "/kv-2". It compares the strings as given: it cleans nothing and needs no leading "/".

Types

This section is empty.

Jump to

Keyboard shortcuts

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