Message ID | 20220830162225.42042-5-christian.storm@siemens.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBDD6BWV65QPBBIXSXCMAMGQENFS3PRQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::13b; helo=mail-lf1-x13b.google.com; envelope-from=swupdate+bncbdd6bwv65qpbbixsxcmamgqenfs3prq@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=GV5GI7oH; dkim-atps=neutral Received: from mail-lf1-x13b.google.com (mail-lf1-x13b.google.com [IPv6:2a00:1450:4864:20::13b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MHCHp5Vg1z1ynD for <incoming@patchwork.ozlabs.org>; Wed, 31 Aug 2022 02:21:58 +1000 (AEST) Received: by mail-lf1-x13b.google.com with SMTP id 6-20020ac25686000000b004946d14f34dsf1587979lfr.21 for <incoming@patchwork.ozlabs.org>; Tue, 30 Aug 2022 09:21:58 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1661876515; cv=pass; d=google.com; s=arc-20160816; b=MiiT58ov3+MEXFg8kb8MRL5gDM8twmMWMsFYBjMaUfTRQcTViEtimoxuPw6fhZkTKR xs3szX1A/Z5FhOY6DPqyODrAIE7MzslllQDpQ2GFM5ksBkcdZETGIyOjiho9Kbq1ol7k H0ExiHVs3SUYUMCv9KRsl/KDHsREmRtG4pipkRqNM377E25kvv1gJ2efDF8n9COSaSDW 7H4UW1JssJ0X9+CpuTqHedz3E9GLTKJZSvgCp/lbbLDmI6vsvJ7XQIZcnfxvtpdqDsnj rV46ywYI3Wui5C19O0gcq5RQ5BJRDlHOHe5esrEyQAtxvuXBLpbQMDYIlzC0SDl+16qA Mksg== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=kmikbUJrmUK8hIF2uRK6LvfZ+cdgnQJcr6SYkQE043U=; b=jcxp9iISYICGooA6ScGgkJ2yDlNrWweuOcOCA2VKgdyyYUIgycf/eAW+BEjoFjCCmp naMouTXMoErsflp0F3S9XKKp29n/NtD6oKzhJYissMHyXThQnpEqvxdsAj9y0pv+W1dp aeuHnoS2vaCVpTY3G7cZY3RvkVoQOWk8Erc4obnuUw+mLAKSwe44W+XMGe3+gkwtbygL 6gUkcTgqFwGoFTb54lbPZEVsz8QUzmrxuq1YVdDpqTZZDBLrMU8e38/g7F2HsDxqifhw wxLTz1CKX5Xu6FvGGQvYBECmvTUU4JLa505rjUWdcnxNt3z6vg3lTEF/LRs8Q68tb8y9 mkig== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=RiGgp1aT; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 40.107.5.57 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc; bh=kmikbUJrmUK8hIF2uRK6LvfZ+cdgnQJcr6SYkQE043U=; b=GV5GI7oHtIcLnvmsxWJ/nK3kEGRgDIC9oIYO6oOwf5qfmBNHJpUOT2RQ3LIO+LYQOr pDus+cYzaqZMG5P6SafKRdIQUQfVuLU2Qx+VkapkT2kxhwTwPWLVKq9DLpCdyi/KjaWC QDYHTJLZFRPgmkYLK+WTyibJ7p81ZrPta0xjw/eOrDDLy/Ep/uU/nUXreCjPgL7wx47a bysu3R8y80TInIsfeuDw5hVqB3oae52hsL8K4v2egh0vm65hlMqxeYtpzwN5+Lr5jAqb DhzRVuD5w0lYx66iit74iFmY2WqGgxMFlkSWurHwq7io0HVLe2tOYQ2pWze/Yeg642QU f2ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:sender:from:to:cc; bh=kmikbUJrmUK8hIF2uRK6LvfZ+cdgnQJcr6SYkQE043U=; b=zyM2/TMVIppaGPcM+b9fvxct5tbMtMvUsPe2WUXz4/UTo5QwIsaglBGY74+1t12vpK 4HQnSsKZsKyM3esbwMxUiSKDc6wOMOS6G0QAmgxuVoeWPXcTuYZ1rsLZGfGcC9EDyJvg 2B/eihbm0sdosel4sqmYOiz/Bb4oqOeuGUv6r1db0Sj121Z7kEL4zzr9DVNfeKgQxiyW BI+shwB5pSAPpB+/XecOFK+Rd7NOH2NWeTWrNveqXXQwchgtrzbokIHvRQGHRUrdSZNc Ivu0PSPW29LCd4z27bW0e4TYZkBN/N3NffeD1t8GBiE6Q7YLCGaEOI6CUbP45eGXf2s9 B04A== Sender: swupdate@googlegroups.com X-Gm-Message-State: ACgBeo1f6kAbGzdbTkyDA6l368GzHj92+DcDcGpFtSWzdllFSdp4lBn6 VkYECZuifAm8AzwDZHO+05c= X-Google-Smtp-Source: AA6agR5OtreoqndrxkDsEJurWVzTMHtbTqPS0O7G4fR7F7RJkicT5YK5Li15diJgbQTaTJ4dzVPOpQ== X-Received: by 2002:a05:651c:11c6:b0:265:d1cb:b7b4 with SMTP id z6-20020a05651c11c600b00265d1cbb7b4mr2359682ljo.69.1661876515292; Tue, 30 Aug 2022 09:21:55 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:860e:0:b0:267:68b0:da9b with SMTP id a14-20020a2e860e000000b0026768b0da9bls120798lji.11.-pod-prod-gmail; Tue, 30 Aug 2022 09:21:53 -0700 (PDT) X-Received: by 2002:a05:651c:210d:b0:266:26b8:31ba with SMTP id a13-20020a05651c210d00b0026626b831bamr2252774ljq.149.1661876513868; Tue, 30 Aug 2022 09:21:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661876513; cv=pass; d=google.com; s=arc-20160816; b=JdXp+PFA8wO8bPOvVA+tu725zZvQTifaa0I3ZKkqmZe09tr7j7cCxX1+vNBDYrsDmG NTTAJKhXI3qDzjKmNrw/SLlq6N9+nfsO6QQXOq4vpZPL/nn7eaUxFOqiq7Ox6RuqcKi6 rOolTrZ0AV9C4VtCOtRQj2e8fZmCrtjh3w/2p2PivmC6vSGnCOROVJeeyiCXHwdWsp1r 6xyH49UnvfiaSzkdiNnxmz2AxjHhSgZxx9s6/A50HJ0Bdom56HPS5uKOxBQ7xpVW6i8y wUW5L9BdxEzNkb9CU9Xx0ak/jysr8fnRvQLvYm5prAxSW9bWnM1coWMat6gHFw7aJk90 q6wg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=xOJycbU+nBcYkYTQ+5G5p4wzq+rBmuFmUqCtYpYAlNk=; b=At9s5tDwHb2/eU1EMvh2esjA38cjnI6U/qU07buiNsoz4HC+jFHOEPNKRJef9J1+xb 7tuKgbfUBZjntRz9gzjwWZlDNYjC6hvf04Rd0XD7asxvlPwg/tYd7I5A7V3RPD1rRlAd dvuP0vxy/V4bTCdHrbLPe0lCPYeaXDu/nH11+YiCjlwkqELaWGNb/E+apNK5zMRbPeIS Sah5nOoRBwZAx59EHXPQKZspY8NimGkXbn+BDpdr2ibM+hiVER3imD3N/nubI4ZxEmk0 QNZ7TvZJ0s5r2hZNdshzHVjo5FPRtwO30SMbkAyG9yiMDRrDTB5MCFPu9ZyjpAoziO0c 7PNw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=RiGgp1aT; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 40.107.5.57 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50057.outbound.protection.outlook.com. [40.107.5.57]) by gmr-mx.google.com with ESMTPS id p15-20020a2ea4cf000000b002652a5a5536si180592ljm.2.2022.08.30.09.21.53 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2022 09:21:53 -0700 (PDT) Received-SPF: pass (google.com: domain of christian.storm@siemens.com designates 40.107.5.57 as permitted sender) client-ip=40.107.5.57; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dm/g4m9d7VQLEx7c3pGKusIXDu84utOU51rHSj/ii77ya775O457xUnmQmPhhksP8oQ525I48Ye2hkmuh7o3WPxnl8aeXzJ+0nEHDXNPPePjhDHGAZzep59NvzK9/mkqwGGZZo0FbF6qdBoVCAfOxm64HM08+8CkfdX1SU8LAjfUoOTT4BxJArefW1OXllHWcADZOWcoDw6XjeSv1arguESUMssSBLPJZuV2fuCJD6Lp+mDnrFZc3KzIh1qv/crK/BYO1Jjjnvx52ihQ2BWTMZ3Qzjg/j6oB9+HOoKSIKohTCWM69NFiDzRL9hiPin8cb6WIoEXp/YI7/F+SrKxH6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xOJycbU+nBcYkYTQ+5G5p4wzq+rBmuFmUqCtYpYAlNk=; b=W9/bxQtQWaVon+vXCNkEkDado3rQ50ZLyaiOlvEAz3OkrosDh7maVyolH1d4UFEZYNMdf4WImyLzkgMPtbAzNjSVWcVd/RGeeEyzs1Yfqy27sjUcEpvrCViNqYOQNSUNyzRzCHClm5Ex+8biU9nsExh9x7S0BMhJQgznfA2Vz2eqBPjxPiCQsMWEZLLjVTZEnowJU5M68jDNsLZcskMTfZFf0ujXIU1vpbJczFT9J4zmLG1C7BQV0mO6CzwsqlbOfrnEKlQP/Gb0RHc/GKdVMp1YTXKrXA6V5oY2inTZb+ZGKUcQoWp7cWBMwgvB2A9RpEj+dGhQRt1NQ6q5t/7SFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.75) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); arc=none Received: from DB3PR06CA0036.eurprd06.prod.outlook.com (2603:10a6:8:1::49) by AS8PR10MB6505.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:569::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.16; Tue, 30 Aug 2022 16:21:52 +0000 Received: from DB5EUR01FT007.eop-EUR01.prod.protection.outlook.com (2603:10a6:8:1:cafe::26) by DB3PR06CA0036.outlook.office365.com (2603:10a6:8:1::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15 via Frontend Transport; Tue, 30 Aug 2022 16:21:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.75) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.75 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.75; helo=hybrid.siemens.com; pr=C Received: from hybrid.siemens.com (194.138.21.75) by DB5EUR01FT007.mail.protection.outlook.com (10.152.4.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15 via Frontend Transport; Tue, 30 Aug 2022 16:21:51 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC8VRA.ad011.siemens.net (194.138.21.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.12; Tue, 30 Aug 2022 18:21:51 +0200 Received: from MD1ZFJVC.ad001.siemens.net (139.25.0.117) by DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.9; Tue, 30 Aug 2022 18:21:51 +0200 From: Christian Storm <christian.storm@siemens.com> To: <swupdate@googlegroups.com> CC: Christian Storm <christian.storm@siemens.com> Subject: [swupdate] [PATCH 5/5] handlers: Add stat() to Lua Handler interface specification Date: Tue, 30 Aug 2022 18:22:25 +0200 Message-ID: <20220830162225.42042-5-christian.storm@siemens.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220830162225.42042-1-christian.storm@siemens.com> References: <20220830162225.42042-1-christian.storm@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [139.25.0.117] X-ClientProxiedBy: DEMCHDC89XA.ad011.siemens.net (139.25.226.103) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fb080849-437e-4396-1f8e-08da8aa3bf51 X-MS-TrafficTypeDiagnostic: AS8PR10MB6505:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: A4iSeh+0Oue6gOOo1Go2hby0UbFPtjisL8jnPV+U1QQy2QesY9CLoxsS3VOMyWBuV8cyOYyk4jiRrCrIg+81iI2bwAL6oeJtNxifWB1UXyxJQ5QNXjgI0EHwFZM8xFRO4RvDuAKD/T82zaPUonfLTmAt/bC59T9nVpPDPy7ebiGQlLFpvGidEPfMhtMm+K2GhG+/pH2orMfUFr4EPYTSbOSn+ZLWyVJ7OpAUtNM8QkHJlDG3i33Lsha+/ooEZWAvzOhNGYd1Yhi9W6en6qRCTqJwiqobkEdBkYRgY9XzLG+kH3CnUdZr7nQFLCF5PYoYor3pB1e9VZ91xUUm0ohIKt7ot7dwzDM7RZP5l+sIrYC/Zh6tpLJ+y+2njymYQvxnqbBeueCfC8WZ0T5hYw6W7dt4j3JhEJ+6cn370bLoejDHuKBJw9GQa+rmr+2vxfA7vpJ5oQh+CgFETTfgd2svRS6Wh8iA/imabSvXhZwQSe0onUmSeLdT/Nh5MMHLWxjPABLXlgqJaLRpvnqWal4SF3GDPdu/XTPtRh5BUIwAX98pfnMiLdhdnVkohg34/KtXit174Konbv/Jh7JPbjyh4jV/rVinHnhEv6fKO8yCWDJ7qhsiydjw4/zfFsJj1ey7XWyujz5FmZpAmxmFNJ+t4uOJN/HE3iBP688KQELyVeIAr1+OH1ByhCZ9pwDs7axt/0nWh2OYV7ZvrfM5XIVKx6RCZvS8qA+ew5c6H2ah8+vz7Xxu+BSaN1NUaKT7nYXEKmK2w5/FfBZZ/YWsbeA107mbuzUV6DKzHs2QsyVWdOtIYzJRkaFCs3L37zeQecBF X-Forefront-Antispam-Report: CIP:194.138.21.75;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:hybrid.siemens.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(396003)(136003)(376002)(346002)(36840700001)(40470700004)(46966006)(86362001)(36756003)(82740400003)(26005)(83380400001)(36860700001)(41300700001)(47076005)(2616005)(336012)(16526019)(186003)(6666004)(107886003)(1076003)(956004)(40480700001)(316002)(6916009)(82310400005)(8676002)(4326008)(478600001)(70586007)(70206006)(82960400001)(2906002)(356005)(81166007)(5660300002)(40460700003)(44832011)(8936002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2022 16:21:51.9679 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fb080849-437e-4396-1f8e-08da8aa3bf51 X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a;Ip=[194.138.21.75];Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT007.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR10MB6505 X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=RiGgp1aT; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 40.107.5.57 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
[1/5] bindings: Update Lua IPC interface specification
|
expand
|
diff --git a/handlers/swupdate.lua b/handlers/swupdate.lua index 621da19..c83a9ed 100644 --- a/handlers/swupdate.lua +++ b/handlers/swupdate.lua @@ -114,6 +114,35 @@ swupdate.ROOT_DEVICE = { swupdate.getroot = function() end +--- Table with major/minor numbers of the device on which the swupdate.stat()'d file resides. +--- @class swupdate.stat_dev +--- @field major number Major device number +--- @field minor number Minor device number + +--- `struct stat`-alike Table. +--- @class swupdate.stat_info +--- @field mode "directory"|"named pipe"|"link"|"regular file"|"socket"|"block device"|"char device"|"unknown" File type and mode +--- @field dev swupdate.stat_dev ID of device containing file +--- @field ino number Inode number +--- @field nlink number Number of hard links +--- @field uid number User ID of owner +--- @field gid number Group ID of owner +--- @field rdev swupdate.stat_dev Device ID (if special file) +--- @field access string Time of last access, e.g., "Wed Jun 30 21:49:08 1993" +--- @field modification string Time of last modification, e.g., "Wed Jun 30 21:49:08 1993" +--- @field change string Time of last status change, e.g., "Wed Jun 30 21:49:08 1993" +--- @field size number Total size, in bytes +--- @field permissions string Unix file permissions string, e.g., "rwxr-xr-x" +--- @field blocks number Number of 512B blocks allocated +--- @field blksize number Block size for filesystem I/O + +--- STAT(2) Wrapper. +-- +--- @param pathname string Retrieve information about the file `pathname` +--- @return swupdate.stat_info | nil # `struct stat`-alike Table if successful, nil on error +swupdate.stat = function(pathname) end + + --- Get SWUpdate's TMPDIRSCRIPT directory. -- --- @return string # TMPDIRSCRIPT directory
Commit 8a5d6a3 introduced the STAT(2) wrapper to the Lua realm. Add the missing interface specification. Signed-off-by: Christian Storm <christian.storm@siemens.com> --- handlers/swupdate.lua | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)