This file is indexed.

/usr/share/lua/5.1/luacheck/version.lua is in lua-check 0.21.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
local luacheck = require "luacheck"
local fs = require "luacheck.fs"
local multithreading = require "luacheck.multithreading"

local version = {}

version.luacheck = luacheck._VERSION

if rawget(_G, "jit") then
   version.lua = rawget(_G, "jit").version
else
   version.lua = _VERSION
end

if fs.has_lfs then
   local lfs = require "lfs"
   version.lfs = lfs._VERSION
else
   version.lfs = "Not found"
end

if multithreading.has_lanes then
   version.lanes = multithreading.lanes.ABOUT.version
else
   version.lanes = "Not found"
end

version.string = ([[
Luacheck: %s
Lua: %s
LuaFileSystem: %s
LuaLanes: %s]]):format(version.luacheck, version.lua, version.lfs, version.lanes)

return version