changeset 260 | 445e01aede7e |
parent 256 | 6d9efbef00a9 |
259:db4911b0c721 | 260:445e01aede7e |
---|---|
215 if s.f.BlockMode { |
215 if s.f.BlockMode { |
216 s.f.lock.RLock() |
216 s.f.lock.RLock() |
217 defer s.f.lock.RUnlock() |
217 defer s.f.lock.RUnlock() |
218 } |
218 } |
219 |
219 |
220 hash := map[string]string{} |
220 hash := make(map[string]string, len(s.keysHash)) |
221 for key, value := range s.keysHash { |
221 for key, value := range s.keysHash { |
222 hash[key] = value |
222 hash[key] = value |
223 } |
223 } |
224 return hash |
224 return hash |
225 } |
225 } |