mirror of https://github.com/dsoprea/go-exif.git
Use RELEASE() notes to denote future backwards-incompatible TODOs
parent
957b817f85
commit
015129a9ef
|
@ -214,7 +214,7 @@ var (
|
|||
)
|
||||
|
||||
var (
|
||||
// DEPRECATION(dustin): These are for backwards-compatibility. These used to be strings but are now IfdIdentity structs and the newer "StandardIfdIdentity" symbols above should be used instead. These will be removed in the next release.
|
||||
// RELEASE(dustin): These are for backwards-compatibility. These used to be strings but are now IfdIdentity structs and the newer "StandardIfdIdentity" symbols above should be used instead. These will be removed in the next release.
|
||||
|
||||
IfdPathStandard = IfdStandardIfdIdentity
|
||||
IfdPathStandardExif = IfdExifStandardIfdIdentity
|
||||
|
|
|
@ -522,7 +522,7 @@ func (ie *IfdEnumerate) Scan(iiRoot *exifcommon.IfdIdentity, ifdOffset uint32, v
|
|||
// Ifd represents a single, parsed IFD.
|
||||
type Ifd struct {
|
||||
|
||||
// TODO(dustin): !! Why are all of these exported? Stop doing this in the next release.
|
||||
// RELEASE(dustin): !! Why are all of these exported? Stop doing this in the next release.
|
||||
// TODO(dustin): Add NextIfd().
|
||||
|
||||
ifdIdentity *exifcommon.IfdIdentity
|
||||
|
|
|
@ -119,7 +119,7 @@ func (et ExifTag) String() string {
|
|||
return fmt.Sprintf("ExifTag<IFD-PATH=[%s] TAG-ID=(0x%02x) TAG-NAME=[%s] TAG-TYPE=[%s] VALUE=[%v] VALUE-BYTES=(%d) CHILD-IFD-PATH=[%s]", et.IfdPath, et.TagId, et.TagName, et.TagTypeName, et.FormattedFirst, len(et.ValueBytes), et.ChildIfdPath)
|
||||
}
|
||||
|
||||
// TODO(dustin): In the next release, make this return a list of skipped tags, too.
|
||||
// RELEASE(dustin): In the next release, make this return a list of skipped tags, too.
|
||||
|
||||
// GetFlatExifData returns a simple, flat representation of all tags.
|
||||
func GetFlatExifData(exifData []byte) (exifTags []ExifTag, err error) {
|
||||
|
|
Loading…
Reference in New Issue