Size returns the number of cached source maps
()
| 151 | |
| 152 | // Size returns the number of cached source maps |
| 153 | func (c *SourceMapCache) Size() int { |
| 154 | c.mu.RLock() |
| 155 | defer c.mu.RUnlock() |
| 156 | return len(c.maps) |
| 157 | } |
| 158 | |
| 159 | // calculateDmapPath calculates the .dmap file path in the project root .dmap/ folder. |
| 160 | // Example: /project/examples/03_option/user.dingo -> /project/.dmap/examples/03_option/user.dmap |
no outgoing calls