currentTimeString returns the current target time as a string.
()
| 2439 | |
| 2440 | // currentTimeString returns the current target time as a string. |
| 2441 | func (f *VFSFile) currentTimeString() string { |
| 2442 | if t := f.TargetTime(); t != nil { |
| 2443 | return t.Format(time.RFC3339Nano) |
| 2444 | } |
| 2445 | if t := f.LatestLTXTime(); !t.IsZero() { |
| 2446 | return t.Format(time.RFC3339Nano) |
| 2447 | } |
| 2448 | return "latest" // Fallback if no LTX files loaded |
| 2449 | } |
| 2450 | |
| 2451 | func isRetryablePageError(err error) bool { |
| 2452 | if err == nil { |
no test coverage detected