* luci/libs/core: fix description of link() function in luci.fs

This commit is contained in:
Jo-Philipp Wich 2008-07-23 13:35:12 +00:00
parent 7b60b141d8
commit ce5f619c4f

View file

@ -192,14 +192,16 @@ stat = posix.stat
-- @return Number containing the os specific errno on error -- @return Number containing the os specific errno on error
chmod = posix.chmod chmod = posix.chmod
--- Create a hardlink from given file to specified target file path. --- Create a hard- or symlink from given file (or directory) to specified target
-- @class function -- file (or directory) path.
-- @name link -- @class function
-- @param path1 String containing the source path of a file to hardlink -- @name link
-- @param path2 String containing the destination path for the link -- @param path1 String containing the source path to link
-- @return Number with the return code, 0 on sucess or nil on error -- @param path2 String containing the destination path for the link
-- @return String containing the error description on error -- @param symlink Boolean indicating wheather to create a symlink (optional)
-- @return Number containing the os specific errno on error -- @return Number with the return code, 0 on sucess or nil on error
-- @return String containing the error description on error
-- @return Number containing the os specific errno on error
link = posix.link link = posix.link
--- Remove the given file. --- Remove the given file.