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

@ -18,8 +18,8 @@ func countFileInDir(dirname string) (int, error) {
return len(files), nil
}
func (i GitImporter) exists(filename string) bool {
return i.li.exists(filename)
func (i GitImporter) Exists(filename string) bool {
return i.li.Exists(filename)
}
func (i GitImporter) toURL(filename string) string {