Purger is an optional interfaces for Fs
| 504 | |
| 505 | // Purger is an optional interfaces for Fs |
| 506 | type Purger interface { |
| 507 | // Purge all files in the directory specified |
| 508 | // |
| 509 | // Implement this if you have a way of deleting all the files |
| 510 | // quicker than just running Remove() on the result of List() |
| 511 | // |
| 512 | // Return an error if it doesn't exist |
| 513 | Purge(ctx context.Context, dir string) error |
| 514 | } |
| 515 | |
| 516 | // Copier is an optional interface for Fs |
| 517 | type Copier interface { |
no outgoing calls
no test coverage detected
searching dependent graphs…