sync: Expose sync.Exists function
This commit is contained in:
parent
5cf4565573
commit
c5a059bd3b
8 changed files with 31 additions and 31 deletions
|
@ -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)
|
||||
|
||||
|
|
Reference in a new issue