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