Discover Packages
github.com/sermodigital/drt
package
module
Version:
v0.0.0-...-40fd383
Opens a new window with list of versions in this module.
Published: Jul 12, 2017
License: BSD-3-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
drt
drt is a read-only, disk-based radix trie.
Expand ▾
Collapse ▴
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package drt implements a read-only, on-disk radix tree.
Trie is a read-only, on-disk radix tree.
Open opens the disk-based radix trie at the given path.
Close closes the raidx trie.
Has returns true if the Trie contains the given key.
Writer will create a read-only, on-disk radix trie.
Create creates a radix trie at the given path. If one already exists it will
be overwritten. The Writer must be closed for the radix tree to be written.
Close flushes the Trie to disk.
Insert inserts the given key into the radix trie.
Source Files
¶
Directories
¶
internal
Click to show internal directories.
Click to hide internal directories.