filesystem.canonical
code:Lua
r_path = textmodule.filesystem.canonical(v_path)
モジュール
filesystem
引数
table:_
変数 型 概要
1 v_path string 処理前のパス
返り値
table:_
変数 型 概要
1 r_path string 正規化されたパス
概要
パス
v_path
を正規化する。
パス内に含まれる
"."
や
".."
を解決し、絶対パスに変換する。