sync: Expose sync.Exists function

This commit is contained in:
nemunaire 2023-05-03 10:54:02 +02:00
parent 5cf4565573
commit c5a059bd3b
8 changed files with 31 additions and 31 deletions

View file

@ -50,7 +50,7 @@ func (i CloudImporter) Sync() error {
return nil
}
func (i CloudImporter) exists(filename string) bool {
func (i CloudImporter) Exists(filename string) bool {
fullURL := i.baseDAV
fullURL.Path = path.Join(fullURL.Path, filename)