mirror of https://github.com/dsoprea/go-exif.git
utility.go: Drop FqIfdPath. Now fully obsolete.
parent
015129a9ef
commit
1a12aec48f
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue