This commit is contained in:
Miek Gieben 2012-09-10 09:15:05 +02:00
parent ad7103ecdc
commit d78c870779
1 changed files with 2 additions and 1 deletions

View File

@ -226,7 +226,8 @@ func (z *Zone) FindFunc(s string, f func(interface{}) bool) (*ZoneData, bool, bo
return zd.Value.(*ZoneData), e, b
}
// Up bla bla
// Up performs a Find and then walks the tree upwards to look
// for this first non-nil parent value.
func (z *Zone) Up(s string) *ZoneData {
z.mutex.RLock()
defer z.mutex.RUnlock()