Add SVG parser (#346)

This commit is contained in:
Thomas Miceli
2024-10-14 21:20:56 +02:00
committed by GitHub
parent 3068588111
commit df226cbd99
11 changed files with 267 additions and 76 deletions

View File

@ -65,6 +65,9 @@ var (
"isCsv": func(i string) bool {
return strings.ToLower(filepath.Ext(i)) == ".csv"
},
"isSvg": func(i string) bool {
return strings.ToLower(filepath.Ext(i)) == ".svg"
},
"csvFile": func(file *git.File) *git.CsvFile {
if strings.ToLower(filepath.Ext(file.Filename)) != ".csv" {
return nil