list_namespaces(3)
π NAME π
list_namespaces β get the current list of user defined namespaces, bestie β¨
π¦ SYNOPSIS π¦
nstbl
list_namespaces()
πΈ DESCRIPTION πΈ
okay so picture this: the user can dynamically add and remove namespaces for the purpose of file i/o and local IPC. These are controlled externally and defined in the database that the arcan application was launched with. A whole example of that vibe is:
arcan_db add_appl_kv arcan ns_home Home:rw:/home/me
This function returns a list of the currently known ones in an n-indexed table of tables, where each table specifies its reference name, a user presentable label, and the set of permissions (e.g. read, write and ipc). The name can then be used as a reference prefix for other operations, e.g. load_image("myname:/test.img").
like, iconic. π
π EXAMPLE π
function list_namespaces0()
for _, space in ipairs(list_namespaces()) do
print(space.name, " => ", space.label, space.read, space.write, space.ipc)
end
end
π₯ SEE ALSO π₯
thatβs the whole page, bestie π«Ά this slay little manual comes from resource and itβs dated October 2026 β periodt π
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms