CachePath returns the full path of the file with the fs.LinkSuffix if appropriate We use this path when storing files in the cache.
()
| 179 | // |
| 180 | // We use this path when storing files in the cache. |
| 181 | func (f *File) CachePath() string { |
| 182 | f.mu.RLock() |
| 183 | defer f.mu.RUnlock() |
| 184 | return f._cachePath() |
| 185 | } |
| 186 | |
| 187 | // Sys returns underlying data source (can be nil) - satisfies Node interface |
| 188 | func (f *File) Sys() any { |
no test coverage detected