thirdparty/patching_path
library
Functions
-
extname(String path)
→ String
-
Extracts the file extension (including the leading dot, e.g.
.png) from path,
or returns an empty string "" if none exists.
-
fnv1a64Hex(String input)
→ String
-
Computes the 64-bit FNV-1a hash of
input and returns a fixed 16-character
lowercase hexadecimal string.
-
joinPath(String dir, String file)
→ String
-
Copied from
patching (Repo: https://github.com/huanguan1978/patching)
Methods: joinPath, extname, fnv1a64Hex
Update: Replace the implementation below with latest code from repo.
Joins a directory path dir and a file name or relative path file,
returning a normalized file path suitable for the current operating system.