Len returns the number of includes in the Includes map.
()
| 52 | |
| 53 | // Len returns the number of includes in the Includes map. |
| 54 | func (includes *Includes) Len() int { |
| 55 | if includes == nil || includes.om == nil { |
| 56 | return 0 |
| 57 | } |
| 58 | defer includes.mutex.RUnlock() |
| 59 | includes.mutex.RLock() |
| 60 | return includes.om.Len() |
| 61 | } |
| 62 | |
| 63 | // Get returns the value the the include with the provided key and a boolean |
| 64 | // that indicates if the value was found or not. If the value is not found, the |
nothing calls this directly
no outgoing calls
no test coverage detected