utility.go: Drop FqIfdPath. Now fully obsolete.

dustin/master
Dustin Oprea 2020-05-20 15:12:04 -04:00
parent 015129a9ef
commit 1a12aec48f
1 changed files with 0 additions and 16 deletions

View File

@ -237,19 +237,3 @@ func GpsDegreesEquals(gi1, gi2 GpsDegrees) bool {
return true
}
// FqIfdPath returns a fully-qualified IFD path expression.
func FqIfdPath(parentFqIfdName, ifdName string, ifdIndex int) string {
var currentIfd string
if parentFqIfdName != "" {
currentIfd = fmt.Sprintf("%s/%s", parentFqIfdName, ifdName)
} else {
currentIfd = ifdName
}
if ifdIndex > 0 {
currentIfd = fmt.Sprintf("%s%d", currentIfd, ifdIndex)
}
return currentIfd
}