| 17 | const archiveTimestampLayout = "20060102T150405.000000000Z" |
| 18 | |
| 19 | type sharedFileHandle struct { |
| 20 | *os.File |
| 21 | |
| 22 | // os.File.Name() may not equal to key of `openedFiles`. |
| 23 | // Store it for later delete from `openedFiles`. |
| 24 | path string |
| 25 | |
| 26 | refCount *synk.RefCount |
| 27 | } |
| 28 | |
| 29 | var ( |
| 30 | openedFiles = make(map[string]*sharedFileHandle) |
nothing calls this directly
no outgoing calls
no test coverage detected