mirror of
https://github.com/minio/mc.git
synced 2025-11-12 01:02:26 +03:00
Add missing prefix match comment
This commit is contained in:
2
trie.go
2
trie.go
@@ -66,7 +66,7 @@ func (t *Trie) Insert(key string) {
|
|||||||
curNode.value = key
|
curNode.value = key
|
||||||
}
|
}
|
||||||
|
|
||||||
// prefixMatch
|
// PrefixMatch - prefix match
|
||||||
func (t *Trie) PrefixMatch(key string) []interface{} {
|
func (t *Trie) PrefixMatch(key string) []interface{} {
|
||||||
node, _ := t.findNode(key)
|
node, _ := t.findNode(key)
|
||||||
if node != nil {
|
if node != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user