From: Tobias Ulmer Date: Tue, 28 Aug 2012 09:45:46 +0000 (+0200) Subject: Remove unused functions X-Git-Tag: e2factory-2.3.13rc1~137 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=0430adaf4156b51aa0ba6b965f922a57d0aaa262;p=e2factory.git Remove unused functions Signed-off-by: Tobias Ulmer --- diff --git a/local/e2build.lua b/local/e2build.lua index 0493eab..3bb8ec5 100644 --- a/local/e2build.lua +++ b/local/e2build.lua @@ -36,16 +36,6 @@ local scm = require("scm") -- forward declaration, filled at the end of file local build_process = {} ---- cache a result --- @param info --- @param server --- @param location --- @return bool --- @return an error object on failure ---function build.cache_result(info, server, location) --- return result.fetch(info.cache, server, location) ---end - local function linklast(info, r, return_flags) local res = info.results[r] local rc, re @@ -158,17 +148,6 @@ local function result_available(info, r, return_flags) return true, nil end ---function build.update_result_timestamp(info, server, location) --- -- update the timestamp --- sr:update_timestamp() --- local rc, re = sr:write(rp) --- if not rc then --- -- can't write back metadata, do not continue. --- return false, e:cat(re) --- end --- return true, nil ---end - --- build config -- @class table -- @name build config @@ -1018,22 +997,6 @@ function e2build.build_results(info, results) return true, nil end ---function build.register_build_results(func, position, post) --- for i,f in ipairs(build_results_ftab) do --- if f == position then --- if post then --- table.insert(build_results_ftab, i + 1 ,func) --- return true, nil --- else --- table.insert(build_results_ftab, i, func) --- return true, nil --- end --- end --- end --- return false, err.new("registering build_results function failed") ---end - - --- collect all data required to build the project. -- skip results that depend on this result -- example: toolchain, busybox, sources, iso,