querypath

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package querypath implements locked path canonicalization for stat and content APIs.

Rules:

  • empty or omitted path means current root
  • leading "/" is accepted and removed

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanonicalizeQueryPath

func CanonicalizeQueryPath(p string) string

CanonicalizeQueryPath normalizes a path from a stat/content query string. The empty string denotes the root. Leading slashes are stripped; internal path semantics are unchanged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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