1
0
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:
Harshavardhana
2015-09-14 12:57:54 -07:00
parent 6fae61ba06
commit 788dd9efa1

View File

@@ -66,7 +66,7 @@ func (t *Trie) Insert(key string) {
curNode.value = key
}
// prefixMatch
// PrefixMatch - prefix match
func (t *Trie) PrefixMatch(key string) []interface{} {
node, _ := t.findNode(key)
if node != nil {