(path string)
| 31 | } |
| 32 | |
| 33 | func NewDiskPersistor(path string) DiskPersistor { |
| 34 | return DiskPersistor{ |
| 35 | filePath: path, |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | func (dp DiskPersistor) Exists() bool { |
| 40 | _, err := os.Stat(dp.filePath) |
no outgoing calls
no test coverage detected