diff --git a/v2/utility.go b/v2/utility.go index 08edd45..c86b85e 100644 --- a/v2/utility.go +++ b/v2/utility.go @@ -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 -}