Documentation
¶
Overview ¶
Package pathutil provides path manipulation utilities for the server package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveImagesDirPrefix ¶
RemoveImagesDirPrefix removes images dir prefix with path traversal check. normalizedImagesDir should be the pre-normalized result of filepath.ToSlash(imagesDir). Returns an error if the resulting path contains path traversal sequences (..).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.