lua.wetgenes.path.dir_exists
given a dirname return true if it exists and is mode directory acording to lfs.attributes
note a path may have a trailing slash and we will auto remove the slash before asking the filessystem if it exists.
given a dirname return true if it exists and is mode directory acording to lfs.attributes
note a path may have a trailing slash and we will auto remove the slash before asking the filessystem if it exists.