CheckPath returns nil if the folder root exists and contains the marker file
()
| 212 | |
| 213 | // CheckPath returns nil if the folder root exists and contains the marker file |
| 214 | func (f *FolderConfiguration) CheckPath() error { |
| 215 | return f.checkFilesystemPath(f.Filesystem(), ".") |
| 216 | } |
| 217 | |
| 218 | func (f *FolderConfiguration) checkFilesystemPath(ffs fs.Filesystem, path string) error { |
| 219 | fi, err := ffs.Stat(path) |