list_namespaces(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸ’… 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