Go's filepath package in TypeScript


Help us add more

Got a rainy Sunday afternoon and a taste for a porting puzzle?

We will then review it. If it's useful to the project and in line with our contributing guidelines your work will become part of Locutus and you'll be automatically credited in the authors section accordingly.

Upstream Surface Inventory 7/21 shipped • 7 next 33%

Namespace-level inventory for Go 1.23: what we already ship, what we may still want, and what we intentionally skip or keep.

filepath

Go 1.23 · Catalog source: live runtime snapshot golang:1.23:path/filepath

50% shipped
7/14 shipped 7 next 7 explicit non-goals
Shipped (7)

Next

Filepath helpers are high-value plain string portability targets.

  • FromSlash
  • IsLocal
  • Match
  • Split
  • SplitList
  • ToSlash
  • VolumeName
Explicit non-goals (7)
  • Abs Skip Absolute-path resolution depends on process working-directory state.
  • EvalSymlinks Skip Symlink resolution depends on filesystem state.
  • Glob Skip Filesystem globbing depends on host state.
  • HasPrefix Skip Deprecated path-prefix checks add little value to the roadmap.
  • Localize Skip OS-specific path localization depends on host path semantics.
  • Walk Skip Filesystem traversal depends on host state and callback side effects.
  • WalkDir Skip Filesystem traversal depends on host state and callback side effects.

« More Go functions