core :: union_find
union–find algorithm using an efficient disjoint-set data structure
# Prints the local base directories as per the XDG Base Directory specification
module show_basedir
import xdg_basedir
print "Data home: {xdg_basedir.data_home}"
print "Config home: {xdg_basedir.config_home}"
print "Cache home: {xdg_basedir.cache_home}"
print "Data dirs: {xdg_basedir.data_dirs.join(", ")}"
print "Searchable data dirs: {xdg_basedir.searchable_data_dirs.join(", ")}"
print "Config dirs: {xdg_basedir.config_dirs.join(", ")}"
print "Searchable config dirs: {xdg_basedir.searchable_config_dirs.join(", ")}"
lib/xdg_basedir/show_basedir.nit:17,1--28,79