GOLF(2gg)

πŸ“¦ version 601.4.41, in ubuntu questing

πŸ’– GOLF(2gg) β€” the Development girlies' manual πŸ’–

okay so bestie, welcome to the GOLF(2gg) pages, aka the Development corner of the manual, and today's main character is... ✨ purge-tree ✨


🌸 NAME 🌸

purge-tree β€” (tree) πŸŽ€

πŸ¦‹ PURPOSE πŸ¦‹

Delete all tree nodes. like, all of them. every single one. no survivors, no cap πŸ’€

✨ SYNTAX ✨

purge-tree <tree>

πŸ’… DESCRIPTION πŸ’…

purge-tree will delete all <tree> nodes β€” and heads up, <tree> must have been created with new-tree first, okay? it's giving "you can't purge what you never made" πŸ™ˆ

All of <tree>'s nodes, and their keys/values, all deleted. gone. bye. πŸ‘‘

After purge-tree, the tree is empty and you can use it again (write into it, read from it etc.). so it's not a tragedy, it's a glow up. fresh start energy fr fr 🌈

πŸ“ EXAMPLES πŸ“

Delete all tree data:

new-tree mytree
...
purge-tree mytree

πŸ’œ SEE ALSO πŸ’œ

  • Tree
  • delete-tree get-tree new-tree purge-tree read-tree use-cursor write-tree
  • See all documentation

and that's the whole vibe bestie, go forth and purge responsibly 🫢✨

this lil page is $VERSION, dated $DATE β€” mwah, xoxo πŸ’‹

πŸ“¦ where this page comes from