end
--- Set process group ID.
--- @pid process id
--- @pgid process group id
+-- @param pid process id
+-- @param pgid process group id
-- @raise error on failure.
function e2lib.setpgid(pid, pgid)
return le2lib.setpgid(pid, pgid)
--- Compare global interface version and complain if we're not compatible.
-- @return True on success, false on error.
--- @Error object on failure.
+-- @return Error object on failure.
local function check_global_interface_version()
local rc, re, e
local givf, line, supported
--- Archives the source and prepares the necessary files outside the archive
-- @param src source object
-- @param sourceset string, should be "tag" "branch" or "working copy", in order for it to work
--- @param the directory where the sources are and where the archive is to be created
+-- @param directory the directory where the sources are and where the archive is to be created
-- @return True on success, false on error.
-- @return Error object on failure
local function gitrepo_to_result(src, sourceset, directory)