filesystem.current
code:Lua
r_path = filesystem.current()
filesystem.current(w_path)
モジュール
filesystem
引数
table:2
変数 型 概要
1 w_path string 作業ディレクトリのパス
返り値
table:1
変数 型 概要
1 r_path string 現在の作業ディレクトリのパス
概要
1. 現在の作業ディレクトリを文字列(
rpath
)で取得する。
2. 作業ディレクトリを
wpath
に設定する。