Very nice looking tests!
Signed-off-by: Kris Nóva <kris@nivenly.com>
This commit is contained in:
parent
3b41c9dd5f
commit
c1a45bf8e3
149 changed files with 1241 additions and 443 deletions
2
vendor/github.com/dsoprea/go-exif/v2/common/ifd.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v2/common/ifd.go
generated
vendored
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v2/common/parser.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v2/common/parser.go
generated
vendored
|
@ -5,7 +5,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v2/common/testing_common.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v2/common/testing_common.go
generated
vendored
|
@ -7,7 +7,7 @@ import (
|
|||
"encoding/binary"
|
||||
"io/ioutil"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v2/common/type.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v2/common/type.go
generated
vendored
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v2/common/utility.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v2/common/utility.go
generated
vendored
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// DumpBytes prints a list of hex-encoded bytes.
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v2/common/value_context.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v2/common/value_context.go
generated
vendored
|
@ -5,7 +5,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v2/common/value_encoder.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v2/common/value_encoder.go
generated
vendored
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/exif.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/exif.go
generated
vendored
|
@ -11,9 +11,9 @@ import (
|
|||
"encoding/binary"
|
||||
"io/ioutil"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/gps.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/gps.go
generated
vendored
|
@ -5,10 +5,10 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"github.com/golang/geo/s2"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/ifd.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/ifd.go
generated
vendored
|
@ -1,9 +1,9 @@
|
|||
package exif
|
||||
|
||||
import (
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
// TODO(dustin): This file now exists for backwards-compatibility only.
|
||||
|
|
6
vendor/github.com/dsoprea/go-exif/v2/ifd_builder.go
generated
vendored
6
vendor/github.com/dsoprea/go-exif/v2/ifd_builder.go
generated
vendored
|
@ -12,10 +12,10 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
exifundefined "github.com/dsoprea/go-exif/v2/undefined"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/undefined"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v2/ifd_builder_encode.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v2/ifd_builder_encode.go
generated
vendored
|
@ -7,8 +7,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
6
vendor/github.com/dsoprea/go-exif/v2/ifd_enumerate.go
generated
vendored
6
vendor/github.com/dsoprea/go-exif/v2/ifd_enumerate.go
generated
vendored
|
@ -11,10 +11,10 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
exifundefined "github.com/dsoprea/go-exif/v2/undefined"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/undefined"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
6
vendor/github.com/dsoprea/go-exif/v2/ifd_tag_entry.go
generated
vendored
6
vendor/github.com/dsoprea/go-exif/v2/ifd_tag_entry.go
generated
vendored
|
@ -5,10 +5,10 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
exifundefined "github.com/dsoprea/go-exif/v2/undefined"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/undefined"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/tags.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/tags.go
generated
vendored
|
@ -3,10 +3,10 @@ package exif
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"gopkg.in/yaml.v2"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/testing_common.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/testing_common.go
generated
vendored
|
@ -7,9 +7,9 @@ import (
|
|||
|
||||
"io/ioutil"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/undefined/accessor.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/undefined/accessor.go
generated
vendored
|
@ -3,9 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
// Encode encodes the given encodeable undefined value to bytes.
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_8828_oecf.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_8828_oecf.go
generated
vendored
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type Tag8828Oecf struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_9000_exif_version.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_9000_exif_version.go
generated
vendored
|
@ -3,9 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type Tag9000ExifVersion struct {
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_9101_components_configuration.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_9101_components_configuration.go
generated
vendored
|
@ -6,8 +6,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_927C_maker_note.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_927C_maker_note.go
generated
vendored
|
@ -7,8 +7,9 @@ import (
|
|||
"crypto/sha1"
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type Tag927CMakerNote struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_9286_user_comment.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_9286_user_comment.go
generated
vendored
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_A000_flashpix_version.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_A000_flashpix_version.go
generated
vendored
|
@ -3,8 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type TagA000FlashpixVersion struct {
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type TagA20CSpatialFrequencyResponse struct {
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_A300_file_source.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_A300_file_source.go
generated
vendored
|
@ -5,8 +5,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type TagExifA300FileSource uint32
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_A301_scene_type.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_A301_scene_type.go
generated
vendored
|
@ -5,9 +5,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type TagExifA301SceneType uint32
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_A302_cfa_pattern.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_A302_cfa_pattern.go
generated
vendored
|
@ -6,8 +6,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type TagA302CfaPattern struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_iop_0002_interop_version.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/undefined/exif_iop_0002_interop_version.go
generated
vendored
|
@ -3,9 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type Tag0002InteropVersion struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/undefined/gps_001B_gps_processing_method.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/undefined/gps_001B_gps_processing_method.go
generated
vendored
|
@ -3,9 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type Tag001BGPSProcessingMethod struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/undefined/gps_001C_gps_area_information.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/undefined/gps_001C_gps_area_information.go
generated
vendored
|
@ -3,9 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
type Tag001CGPSAreaInformation struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v2/undefined/registration.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v2/undefined/registration.go
generated
vendored
|
@ -1,6 +1,8 @@
|
|||
package exifundefined
|
||||
|
||||
import "log"
|
||||
import (
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// UndefinedTagHandle defines one undefined-type tag with a corresponding
|
||||
// decoder.
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v2/undefined/type.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v2/undefined/type.go
generated
vendored
|
@ -5,7 +5,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
6
vendor/github.com/dsoprea/go-exif/v2/utility.go
generated
vendored
6
vendor/github.com/dsoprea/go-exif/v2/utility.go
generated
vendored
|
@ -8,10 +8,10 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v2/common"
|
||||
exifundefined "github.com/dsoprea/go-exif/v2/undefined"
|
||||
"github.com/dsoprea/go-exif/v2/common"
|
||||
"github.com/dsoprea/go-exif/v2/undefined"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v3/common/ifd.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v3/common/ifd.go
generated
vendored
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v3/common/parser.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v3/common/parser.go
generated
vendored
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v3/common/testing_common.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v3/common/testing_common.go
generated
vendored
|
@ -7,7 +7,7 @@ import (
|
|||
"encoding/binary"
|
||||
"io/ioutil"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v3/common/type.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v3/common/type.go
generated
vendored
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v3/common/utility.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v3/common/utility.go
generated
vendored
|
@ -8,7 +8,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v3/common/value_context.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v3/common/value_context.go
generated
vendored
|
@ -6,7 +6,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v3/common/value_encoder.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v3/common/value_encoder.go
generated
vendored
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/data_layer.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/data_layer.go
generated
vendored
|
@ -3,8 +3,8 @@ package exif
|
|||
import (
|
||||
"io"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
rifs "github.com/dsoprea/go-utility/v2/filesystem"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-utility/v2/filesystem"
|
||||
)
|
||||
|
||||
type ExifBlobSeeker interface {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/exif.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/exif.go
generated
vendored
|
@ -11,9 +11,9 @@ import (
|
|||
"encoding/binary"
|
||||
"io/ioutil"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/gps.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/gps.go
generated
vendored
|
@ -5,10 +5,10 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"github.com/golang/geo/s2"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
6
vendor/github.com/dsoprea/go-exif/v3/ifd_builder.go
generated
vendored
6
vendor/github.com/dsoprea/go-exif/v3/ifd_builder.go
generated
vendored
|
@ -12,10 +12,10 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
exifundefined "github.com/dsoprea/go-exif/v3/undefined"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/undefined"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v3/ifd_builder_encode.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v3/ifd_builder_encode.go
generated
vendored
|
@ -7,8 +7,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
6
vendor/github.com/dsoprea/go-exif/v3/ifd_enumerate.go
generated
vendored
6
vendor/github.com/dsoprea/go-exif/v3/ifd_enumerate.go
generated
vendored
|
@ -11,10 +11,10 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
exifundefined "github.com/dsoprea/go-exif/v3/undefined"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/undefined"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
6
vendor/github.com/dsoprea/go-exif/v3/ifd_tag_entry.go
generated
vendored
6
vendor/github.com/dsoprea/go-exif/v3/ifd_tag_entry.go
generated
vendored
|
@ -6,10 +6,10 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
exifundefined "github.com/dsoprea/go-exif/v3/undefined"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/undefined"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/tags.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/tags.go
generated
vendored
|
@ -4,10 +4,10 @@ import (
|
|||
"fmt"
|
||||
"sync"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"gopkg.in/yaml.v2"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/testing_common.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/testing_common.go
generated
vendored
|
@ -7,9 +7,9 @@ import (
|
|||
|
||||
"io/ioutil"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/undefined/accessor.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/undefined/accessor.go
generated
vendored
|
@ -3,9 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
// Encode encodes the given encodeable undefined value to bytes.
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_8828_oecf.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_8828_oecf.go
generated
vendored
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type Tag8828Oecf struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_9000_exif_version.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_9000_exif_version.go
generated
vendored
|
@ -3,9 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type Tag9000ExifVersion struct {
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_9101_components_configuration.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_9101_components_configuration.go
generated
vendored
|
@ -6,8 +6,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_927C_maker_note.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_927C_maker_note.go
generated
vendored
|
@ -7,9 +7,9 @@ import (
|
|||
"crypto/sha1"
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type Tag927CMakerNote struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_9286_user_comment.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_9286_user_comment.go
generated
vendored
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_A000_flashpix_version.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_A000_flashpix_version.go
generated
vendored
|
@ -3,8 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type TagA000FlashpixVersion struct {
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type TagA20CSpatialFrequencyResponse struct {
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_A300_file_source.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_A300_file_source.go
generated
vendored
|
@ -5,8 +5,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type TagExifA300FileSource uint32
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_A301_scene_type.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_A301_scene_type.go
generated
vendored
|
@ -5,9 +5,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type TagExifA301SceneType uint32
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_A302_cfa_pattern.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_A302_cfa_pattern.go
generated
vendored
|
@ -6,8 +6,9 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type TagA302CfaPattern struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_iop_0002_interop_version.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/undefined/exif_iop_0002_interop_version.go
generated
vendored
|
@ -3,9 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type Tag0002InteropVersion struct {
|
||||
|
|
5
vendor/github.com/dsoprea/go-exif/v3/undefined/gps_001B_gps_processing_method.go
generated
vendored
5
vendor/github.com/dsoprea/go-exif/v3/undefined/gps_001B_gps_processing_method.go
generated
vendored
|
@ -3,8 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type Tag001BGPSProcessingMethod struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/undefined/gps_001C_gps_area_information.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/undefined/gps_001C_gps_area_information.go
generated
vendored
|
@ -3,9 +3,9 @@ package exifundefined
|
|||
import (
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
type Tag001CGPSAreaInformation struct {
|
||||
|
|
4
vendor/github.com/dsoprea/go-exif/v3/undefined/registration.go
generated
vendored
4
vendor/github.com/dsoprea/go-exif/v3/undefined/registration.go
generated
vendored
|
@ -1,6 +1,8 @@
|
|||
package exifundefined
|
||||
|
||||
import log "github.com/dsoprea/go-logging"
|
||||
import (
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// UndefinedTagHandle defines one undefined-type tag with a corresponding
|
||||
// decoder.
|
||||
|
|
2
vendor/github.com/dsoprea/go-exif/v3/undefined/type.go
generated
vendored
2
vendor/github.com/dsoprea/go-exif/v3/undefined/type.go
generated
vendored
|
@ -5,7 +5,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
6
vendor/github.com/dsoprea/go-exif/v3/utility.go
generated
vendored
6
vendor/github.com/dsoprea/go-exif/v3/utility.go
generated
vendored
|
@ -4,10 +4,10 @@ import (
|
|||
"fmt"
|
||||
"math"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
|
||||
exifcommon "github.com/dsoprea/go-exif/v3/common"
|
||||
exifundefined "github.com/dsoprea/go-exif/v3/undefined"
|
||||
"github.com/dsoprea/go-exif/v3/common"
|
||||
"github.com/dsoprea/go-exif/v3/undefined"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
8
vendor/github.com/dsoprea/go-heic-exif-extractor/media_parser.go
generated
vendored
8
vendor/github.com/dsoprea/go-heic-exif-extractor/media_parser.go
generated
vendored
|
@ -7,10 +7,10 @@ import (
|
|||
"sort"
|
||||
|
||||
"github.com/dsoprea/go-exif/v2"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
ridata "github.com/dsoprea/go-utility/data"
|
||||
rifs "github.com/dsoprea/go-utility/filesystem"
|
||||
riimage "github.com/dsoprea/go-utility/image"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-utility/data"
|
||||
"github.com/dsoprea/go-utility/filesystem"
|
||||
"github.com/dsoprea/go-utility/image"
|
||||
"go4.org/media/heif"
|
||||
"go4.org/media/heif/bmff"
|
||||
)
|
||||
|
|
2
vendor/github.com/dsoprea/go-iptc/tag.go
generated
vendored
2
vendor/github.com/dsoprea/go-iptc/tag.go
generated
vendored
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-iptc/testing_common.go
generated
vendored
2
vendor/github.com/dsoprea/go-iptc/testing_common.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"os"
|
||||
"path"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-iptc/utility.go
generated
vendored
2
vendor/github.com/dsoprea/go-iptc/utility.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"bytes"
|
||||
"fmt"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// DumpBytesToString returns a stringified list of hex-encoded bytes.
|
||||
|
|
2
vendor/github.com/dsoprea/go-jpeg-image-structure/markers.go
generated
vendored
2
vendor/github.com/dsoprea/go-jpeg-image-structure/markers.go
generated
vendored
|
@ -1,7 +1,7 @@
|
|||
package jpegstructure
|
||||
|
||||
import (
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
4
vendor/github.com/dsoprea/go-jpeg-image-structure/media_parser.go
generated
vendored
4
vendor/github.com/dsoprea/go-jpeg-image-structure/media_parser.go
generated
vendored
|
@ -6,8 +6,8 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
riimage "github.com/dsoprea/go-utility/image"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-utility/image"
|
||||
)
|
||||
|
||||
// JpegMediaParser is a `riimage.MediaParser` that knows how to parse JPEG
|
||||
|
|
6
vendor/github.com/dsoprea/go-jpeg-image-structure/segment.go
generated
vendored
6
vendor/github.com/dsoprea/go-jpeg-image-structure/segment.go
generated
vendored
|
@ -10,9 +10,9 @@ import (
|
|||
|
||||
"github.com/dsoprea/go-exif/v2"
|
||||
"github.com/dsoprea/go-iptc"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
photoshopinfo "github.com/dsoprea/go-photoshop-info-format"
|
||||
riimage "github.com/dsoprea/go-utility/image"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-photoshop-info-format"
|
||||
"github.com/dsoprea/go-utility/image"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
2
vendor/github.com/dsoprea/go-jpeg-image-structure/segment_list.go
generated
vendored
2
vendor/github.com/dsoprea/go-jpeg-image-structure/segment_list.go
generated
vendored
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
"github.com/dsoprea/go-exif/v2"
|
||||
"github.com/dsoprea/go-iptc"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// SegmentList contains a slice of segments.
|
||||
|
|
2
vendor/github.com/dsoprea/go-jpeg-image-structure/splitter.go
generated
vendored
2
vendor/github.com/dsoprea/go-jpeg-image-structure/splitter.go
generated
vendored
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// JpegSplitter uses the Go stream splitter to divide the JPEG stream into
|
||||
|
|
2
vendor/github.com/dsoprea/go-jpeg-image-structure/testing_common.go
generated
vendored
2
vendor/github.com/dsoprea/go-jpeg-image-structure/testing_common.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"os"
|
||||
"path"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-jpeg-image-structure/utility.go
generated
vendored
2
vendor/github.com/dsoprea/go-jpeg-image-structure/utility.go
generated
vendored
|
@ -6,7 +6,7 @@ import (
|
|||
"sort"
|
||||
"strings"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"github.com/go-xmlfmt/xmlfmt"
|
||||
)
|
||||
|
||||
|
|
2
vendor/github.com/dsoprea/go-photoshop-info-format/info.go
generated
vendored
2
vendor/github.com/dsoprea/go-photoshop-info-format/info.go
generated
vendored
|
@ -6,7 +6,7 @@ import (
|
|||
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-photoshop-info-format/testing_common.go
generated
vendored
2
vendor/github.com/dsoprea/go-photoshop-info-format/testing_common.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"os"
|
||||
"path"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
102
vendor/github.com/dsoprea/go-png-image-structure/chunk_decoder.go
generated
vendored
102
vendor/github.com/dsoprea/go-png-image-structure/chunk_decoder.go
generated
vendored
|
@ -1,87 +1,89 @@
|
|||
package pngstructure
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"fmt"
|
||||
"bytes"
|
||||
|
||||
"encoding/binary"
|
||||
"encoding/binary"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
type ChunkDecoder struct {
|
||||
|
||||
}
|
||||
|
||||
func NewChunkDecoder() *ChunkDecoder {
|
||||
return new(ChunkDecoder)
|
||||
return new(ChunkDecoder)
|
||||
}
|
||||
|
||||
func (cd *ChunkDecoder) Decode(c *Chunk) (decoded interface{}, err error) {
|
||||
defer func() {
|
||||
if state := recover(); state != nil {
|
||||
err := log.Wrap(state.(error))
|
||||
log.Panic(err)
|
||||
}
|
||||
}()
|
||||
defer func() {
|
||||
if state := recover(); state != nil {
|
||||
err := log.Wrap(state.(error))
|
||||
log.Panic(err)
|
||||
}
|
||||
}()
|
||||
|
||||
switch c.Type {
|
||||
case "IHDR":
|
||||
ihdr, err := cd.decodeIHDR(c)
|
||||
log.PanicIf(err)
|
||||
switch c.Type {
|
||||
case "IHDR":
|
||||
ihdr, err := cd.decodeIHDR(c)
|
||||
log.PanicIf(err)
|
||||
|
||||
return ihdr, nil
|
||||
}
|
||||
return ihdr, nil
|
||||
}
|
||||
|
||||
// We don't decode this particular type.
|
||||
return nil, nil
|
||||
// We don't decode this particular type.
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
||||
type ChunkIHDR struct {
|
||||
Width uint32
|
||||
Height uint32
|
||||
BitDepth uint8
|
||||
ColorType uint8
|
||||
CompressionMethod uint8
|
||||
FilterMethod uint8
|
||||
InterlaceMethod uint8
|
||||
Width uint32
|
||||
Height uint32
|
||||
BitDepth uint8
|
||||
ColorType uint8
|
||||
CompressionMethod uint8
|
||||
FilterMethod uint8
|
||||
InterlaceMethod uint8
|
||||
}
|
||||
|
||||
func (ihdr *ChunkIHDR) String() string {
|
||||
return fmt.Sprintf("IHDR<WIDTH=(%d) HEIGHT=(%d) DEPTH=(%d) COLOR-TYPE=(%d) COMP-METHOD=(%d) FILTER-METHOD=(%d) INTRLC-METHOD=(%d)>", ihdr.Width, ihdr.Height, ihdr.BitDepth, ihdr.ColorType, ihdr.CompressionMethod, ihdr.FilterMethod, ihdr.InterlaceMethod)
|
||||
return fmt.Sprintf("IHDR<WIDTH=(%d) HEIGHT=(%d) DEPTH=(%d) COLOR-TYPE=(%d) COMP-METHOD=(%d) FILTER-METHOD=(%d) INTRLC-METHOD=(%d)>", ihdr.Width, ihdr.Height, ihdr.BitDepth, ihdr.ColorType, ihdr.CompressionMethod, ihdr.FilterMethod, ihdr.InterlaceMethod)
|
||||
}
|
||||
|
||||
func (cd *ChunkDecoder) decodeIHDR(c *Chunk) (ihdr *ChunkIHDR, err error) {
|
||||
defer func() {
|
||||
if state := recover(); state != nil {
|
||||
err := log.Wrap(state.(error))
|
||||
log.Panic(err)
|
||||
}
|
||||
}()
|
||||
defer func() {
|
||||
if state := recover(); state != nil {
|
||||
err := log.Wrap(state.(error))
|
||||
log.Panic(err)
|
||||
}
|
||||
}()
|
||||
|
||||
b := bytes.NewBuffer(c.Data)
|
||||
b := bytes.NewBuffer(c.Data)
|
||||
|
||||
ihdr = new(ChunkIHDR)
|
||||
ihdr = new(ChunkIHDR)
|
||||
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.Width)
|
||||
log.PanicIf(err)
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.Width)
|
||||
log.PanicIf(err)
|
||||
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.Height)
|
||||
log.PanicIf(err)
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.Height)
|
||||
log.PanicIf(err)
|
||||
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.BitDepth)
|
||||
log.PanicIf(err)
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.BitDepth)
|
||||
log.PanicIf(err)
|
||||
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.ColorType)
|
||||
log.PanicIf(err)
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.ColorType)
|
||||
log.PanicIf(err)
|
||||
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.CompressionMethod)
|
||||
log.PanicIf(err)
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.CompressionMethod)
|
||||
log.PanicIf(err)
|
||||
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.FilterMethod)
|
||||
log.PanicIf(err)
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.FilterMethod)
|
||||
log.PanicIf(err)
|
||||
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.InterlaceMethod)
|
||||
log.PanicIf(err)
|
||||
err = binary.Read(b, binary.BigEndian, &ihdr.InterlaceMethod)
|
||||
log.PanicIf(err)
|
||||
|
||||
return ihdr, nil
|
||||
return ihdr, nil
|
||||
}
|
||||
|
|
108
vendor/github.com/dsoprea/go-png-image-structure/media_parser.go
generated
vendored
108
vendor/github.com/dsoprea/go-png-image-structure/media_parser.go
generated
vendored
|
@ -1,13 +1,13 @@
|
|||
package pngstructure
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
"bytes"
|
||||
"io"
|
||||
"os"
|
||||
"bufio"
|
||||
"bytes"
|
||||
"io"
|
||||
"os"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
riimage "github.com/dsoprea/go-utility/image"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-utility/image"
|
||||
)
|
||||
|
||||
// PngMediaParser knows how to parse a PNG stream.
|
||||
|
@ -17,90 +17,90 @@ type PngMediaParser struct {
|
|||
// NewPngMediaParser returns a new `PngMediaParser` struct.
|
||||
func NewPngMediaParser() *PngMediaParser {
|
||||
|
||||
// TODO(dustin): Add test
|
||||
// TODO(dustin): Add test
|
||||
|
||||
return new(PngMediaParser)
|
||||
return new(PngMediaParser)
|
||||
}
|
||||
|
||||
// Parse parses a PNG stream given a `io.ReadSeeker`.
|
||||
func (pmp *PngMediaParser) Parse(rs io.ReadSeeker, size int) (mc riimage.MediaContext, err error) {
|
||||
defer func() {
|
||||
if state := recover(); state != nil {
|
||||
err = log.Wrap(state.(error))
|
||||
}
|
||||
}()
|
||||
defer func() {
|
||||
if state := recover(); state != nil {
|
||||
err = log.Wrap(state.(error))
|
||||
}
|
||||
}()
|
||||
|
||||
// TODO(dustin): Add test
|
||||
// TODO(dustin): Add test
|
||||
|
||||
ps := NewPngSplitter()
|
||||
ps := NewPngSplitter()
|
||||
|
||||
err = ps.readHeader(rs)
|
||||
log.PanicIf(err)
|
||||
err = ps.readHeader(rs)
|
||||
log.PanicIf(err)
|
||||
|
||||
s := bufio.NewScanner(rs)
|
||||
s := bufio.NewScanner(rs)
|
||||
|
||||
// Since each segment can be any size, our buffer must be allowed to grow
|
||||
// as large as the file.
|
||||
buffer := []byte{}
|
||||
s.Buffer(buffer, size)
|
||||
s.Split(ps.Split)
|
||||
// Since each segment can be any size, our buffer must be allowed to grow
|
||||
// as large as the file.
|
||||
buffer := []byte{}
|
||||
s.Buffer(buffer, size)
|
||||
s.Split(ps.Split)
|
||||
|
||||
for s.Scan() != false {
|
||||
}
|
||||
log.PanicIf(s.Err())
|
||||
for s.Scan() != false {
|
||||
}
|
||||
log.PanicIf(s.Err())
|
||||
|
||||
return ps.Chunks(), nil
|
||||
return ps.Chunks(), nil
|
||||
}
|
||||
|
||||
// ParseFile parses a PNG stream given a file-path.
|
||||
func (pmp *PngMediaParser) ParseFile(filepath string) (mc riimage.MediaContext, err error) {
|
||||
defer func() {
|
||||
if state := recover(); state != nil {
|
||||
err = log.Wrap(state.(error))
|
||||
}
|
||||
}()
|
||||
defer func() {
|
||||
if state := recover(); state != nil {
|
||||
err = log.Wrap(state.(error))
|
||||
}
|
||||
}()
|
||||
|
||||
f, err := os.Open(filepath)
|
||||
log.PanicIf(err)
|
||||
f, err := os.Open(filepath)
|
||||
log.PanicIf(err)
|
||||
|
||||
defer f.Close()
|
||||
defer f.Close()
|
||||
|
||||
stat, err := f.Stat()
|
||||
log.PanicIf(err)
|
||||
stat, err := f.Stat()
|
||||
log.PanicIf(err)
|
||||
|
||||
size := stat.Size()
|
||||
size := stat.Size()
|
||||
|
||||
chunks, err := pmp.Parse(f, int(size))
|
||||
log.PanicIf(err)
|
||||
chunks, err := pmp.Parse(f, int(size))
|
||||
log.PanicIf(err)
|
||||
|
||||
return chunks, nil
|
||||
return chunks, nil
|
||||
}
|
||||
|
||||
// ParseBytes parses a PNG stream given a byte-slice.
|
||||
func (pmp *PngMediaParser) ParseBytes(data []byte) (mc riimage.MediaContext, err error) {
|
||||
defer func() {
|
||||
if state := recover(); state != nil {
|
||||
err = log.Wrap(state.(error))
|
||||
}
|
||||
}()
|
||||
defer func() {
|
||||
if state := recover(); state != nil {
|
||||
err = log.Wrap(state.(error))
|
||||
}
|
||||
}()
|
||||
|
||||
// TODO(dustin): Add test
|
||||
// TODO(dustin): Add test
|
||||
|
||||
br := bytes.NewReader(data)
|
||||
br := bytes.NewReader(data)
|
||||
|
||||
chunks, err := pmp.Parse(br, len(data))
|
||||
log.PanicIf(err)
|
||||
chunks, err := pmp.Parse(br, len(data))
|
||||
log.PanicIf(err)
|
||||
|
||||
return chunks, nil
|
||||
return chunks, nil
|
||||
}
|
||||
|
||||
// LooksLikeFormat returns a boolean indicating whether the stream looks like a
|
||||
// PNG image.
|
||||
func (pmp *PngMediaParser) LooksLikeFormat(data []byte) bool {
|
||||
return bytes.Compare(data[:len(PngSignature)], PngSignature[:]) == 0
|
||||
return bytes.Compare(data[:len(PngSignature)], PngSignature[:]) == 0
|
||||
}
|
||||
|
||||
var (
|
||||
// Enforce interface conformance.
|
||||
_ riimage.MediaParser = new(PngMediaParser)
|
||||
// Enforce interface conformance.
|
||||
_ riimage.MediaParser = new(PngMediaParser)
|
||||
)
|
||||
|
|
4
vendor/github.com/dsoprea/go-png-image-structure/png.go
generated
vendored
4
vendor/github.com/dsoprea/go-png-image-structure/png.go
generated
vendored
|
@ -10,8 +10,8 @@ import (
|
|||
"hash/crc32"
|
||||
|
||||
"github.com/dsoprea/go-exif/v2"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
riimage "github.com/dsoprea/go-utility/image"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-utility/image"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
72
vendor/github.com/dsoprea/go-png-image-structure/testing_common.go
generated
vendored
72
vendor/github.com/dsoprea/go-png-image-structure/testing_common.go
generated
vendored
|
@ -1,64 +1,64 @@
|
|||
package pngstructure
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path"
|
||||
"os"
|
||||
"path"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
assetsPath = ""
|
||||
assetsPath = ""
|
||||
)
|
||||
|
||||
func getModuleRootPath() string {
|
||||
moduleRootPath := os.Getenv("PNG_MODULE_ROOT_PATH")
|
||||
if moduleRootPath != "" {
|
||||
return moduleRootPath
|
||||
}
|
||||
moduleRootPath := os.Getenv("PNG_MODULE_ROOT_PATH")
|
||||
if moduleRootPath != "" {
|
||||
return moduleRootPath
|
||||
}
|
||||
|
||||
currentWd, err := os.Getwd()
|
||||
log.PanicIf(err)
|
||||
currentWd, err := os.Getwd()
|
||||
log.PanicIf(err)
|
||||
|
||||
currentPath := currentWd
|
||||
visited := make([]string, 0)
|
||||
currentPath := currentWd
|
||||
visited := make([]string, 0)
|
||||
|
||||
for {
|
||||
tryStampFilepath := path.Join(currentPath, ".MODULE_ROOT")
|
||||
for {
|
||||
tryStampFilepath := path.Join(currentPath, ".MODULE_ROOT")
|
||||
|
||||
_, err := os.Stat(tryStampFilepath)
|
||||
if err != nil && os.IsNotExist(err) != true {
|
||||
log.Panic(err)
|
||||
} else if err == nil {
|
||||
break
|
||||
}
|
||||
_, err := os.Stat(tryStampFilepath)
|
||||
if err != nil && os.IsNotExist(err) != true {
|
||||
log.Panic(err)
|
||||
} else if err == nil {
|
||||
break
|
||||
}
|
||||
|
||||
visited = append(visited, tryStampFilepath)
|
||||
visited = append(visited, tryStampFilepath)
|
||||
|
||||
currentPath = path.Dir(currentPath)
|
||||
if currentPath == "/" {
|
||||
log.Panicf("could not find module-root: %v", visited)
|
||||
}
|
||||
}
|
||||
currentPath = path.Dir(currentPath)
|
||||
if currentPath == "/" {
|
||||
log.Panicf("could not find module-root: %v", visited)
|
||||
}
|
||||
}
|
||||
|
||||
return currentPath
|
||||
return currentPath
|
||||
}
|
||||
|
||||
func getTestAssetsPath() string {
|
||||
if assetsPath == "" {
|
||||
moduleRootPath := getModuleRootPath()
|
||||
assetsPath = path.Join(moduleRootPath, "assets")
|
||||
}
|
||||
if assetsPath == "" {
|
||||
moduleRootPath := getModuleRootPath()
|
||||
assetsPath = path.Join(moduleRootPath, "assets")
|
||||
}
|
||||
|
||||
return assetsPath
|
||||
return assetsPath
|
||||
}
|
||||
|
||||
func getTestBasicImageFilepath() string {
|
||||
assetsPath := getTestAssetsPath()
|
||||
return path.Join(assetsPath, "libpng.png")
|
||||
assetsPath := getTestAssetsPath()
|
||||
return path.Join(assetsPath, "libpng.png")
|
||||
}
|
||||
|
||||
func getTestExifImageFilepath() string {
|
||||
assetsPath := getTestAssetsPath()
|
||||
return path.Join(assetsPath, "exif.png")
|
||||
assetsPath := getTestAssetsPath()
|
||||
return path.Join(assetsPath, "exif.png")
|
||||
}
|
||||
|
|
74
vendor/github.com/dsoprea/go-png-image-structure/utility.go
generated
vendored
74
vendor/github.com/dsoprea/go-png-image-structure/utility.go
generated
vendored
|
@ -1,65 +1,65 @@
|
|||
package pngstructure
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"fmt"
|
||||
"bytes"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
func DumpBytes(data []byte) {
|
||||
fmt.Printf("DUMP: ")
|
||||
for _, x := range data {
|
||||
fmt.Printf("%02x ", x)
|
||||
}
|
||||
fmt.Printf("DUMP: ")
|
||||
for _, x := range data {
|
||||
fmt.Printf("%02x ", x)
|
||||
}
|
||||
|
||||
fmt.Printf("\n")
|
||||
fmt.Printf("\n")
|
||||
}
|
||||
|
||||
func DumpBytesClause(data []byte) {
|
||||
fmt.Printf("DUMP: ")
|
||||
fmt.Printf("DUMP: ")
|
||||
|
||||
fmt.Printf("[]byte { ")
|
||||
fmt.Printf("[]byte { ")
|
||||
|
||||
for i, x := range data {
|
||||
fmt.Printf("0x%02x", x)
|
||||
for i, x := range data {
|
||||
fmt.Printf("0x%02x", x)
|
||||
|
||||
if i < len(data)-1 {
|
||||
fmt.Printf(", ")
|
||||
}
|
||||
}
|
||||
if i < len(data) - 1 {
|
||||
fmt.Printf(", ")
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Printf(" }\n")
|
||||
fmt.Printf(" }\n")
|
||||
}
|
||||
|
||||
func DumpBytesToString(data []byte) string {
|
||||
b := new(bytes.Buffer)
|
||||
b := new(bytes.Buffer)
|
||||
|
||||
for i, x := range data {
|
||||
_, err := b.WriteString(fmt.Sprintf("%02x", x))
|
||||
log.PanicIf(err)
|
||||
for i, x := range data {
|
||||
_, err := b.WriteString(fmt.Sprintf("%02x", x))
|
||||
log.PanicIf(err)
|
||||
|
||||
if i < len(data)-1 {
|
||||
_, err := b.WriteRune(' ')
|
||||
log.PanicIf(err)
|
||||
}
|
||||
}
|
||||
if i < len(data) - 1 {
|
||||
_, err := b.WriteRune(' ')
|
||||
log.PanicIf(err)
|
||||
}
|
||||
}
|
||||
|
||||
return b.String()
|
||||
return b.String()
|
||||
}
|
||||
|
||||
func DumpBytesClauseToString(data []byte) string {
|
||||
b := new(bytes.Buffer)
|
||||
b := new(bytes.Buffer)
|
||||
|
||||
for i, x := range data {
|
||||
_, err := b.WriteString(fmt.Sprintf("0x%02x", x))
|
||||
log.PanicIf(err)
|
||||
for i, x := range data {
|
||||
_, err := b.WriteString(fmt.Sprintf("0x%02x", x))
|
||||
log.PanicIf(err)
|
||||
|
||||
if i < len(data)-1 {
|
||||
_, err := b.WriteString(", ")
|
||||
log.PanicIf(err)
|
||||
}
|
||||
}
|
||||
if i < len(data) - 1 {
|
||||
_, err := b.WriteString(", ")
|
||||
log.PanicIf(err)
|
||||
}
|
||||
}
|
||||
|
||||
return b.String()
|
||||
return b.String()
|
||||
}
|
||||
|
|
4
vendor/github.com/dsoprea/go-tiff-image-structure/media_parser.go
generated
vendored
4
vendor/github.com/dsoprea/go-tiff-image-structure/media_parser.go
generated
vendored
|
@ -8,8 +8,8 @@ import (
|
|||
"io/ioutil"
|
||||
|
||||
"github.com/dsoprea/go-exif/v2"
|
||||
log "github.com/dsoprea/go-logging"
|
||||
riimage "github.com/dsoprea/go-utility/image"
|
||||
"github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-utility/image"
|
||||
)
|
||||
|
||||
// TiffMediaParser knows how to parse a TIFF stream.
|
||||
|
|
2
vendor/github.com/dsoprea/go-tiff-image-structure/testing_common.go
generated
vendored
2
vendor/github.com/dsoprea/go-tiff-image-structure/testing_common.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"os"
|
||||
"path"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/data/lru.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/data/lru.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/data/mime.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/data/mime.go
generated
vendored
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
"net/http"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/filesystem/bounceback.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/filesystem/bounceback.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"io"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// BouncebackStats describes operation counts.
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/filesystem/boundedreadwriteseekcloser.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/filesystem/boundedreadwriteseekcloser.go
generated
vendored
|
@ -3,7 +3,7 @@ package rifs
|
|||
import (
|
||||
"io"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// BoundedReadWriteSeekCloser wraps a RWS that is also a closer with boundaries.
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/filesystem/boundedreadwriteseeker.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/filesystem/boundedreadwriteseeker.go
generated
vendored
|
@ -5,7 +5,7 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/filesystem/calculate_seek.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/filesystem/calculate_seek.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// SeekType is a convenience type to associate the different seek-types with
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/filesystem/copy_bytes_between_positions.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/filesystem/copy_bytes_between_positions.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// CopyBytesBetweenPositions will copy bytes from one position in the given RWS
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/filesystem/list_files.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/filesystem/list_files.go
generated
vendored
|
@ -5,7 +5,7 @@ import (
|
|||
"os"
|
||||
"path"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// FileListFilterPredicate is the callback predicate used for filtering.
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/filesystem/progress_wrapper.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/filesystem/progress_wrapper.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"io"
|
||||
"time"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// ProgressFunc receives progress updates.
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/filesystem/readseeker_to_readerat.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/filesystem/readseeker_to_readerat.go
generated
vendored
|
@ -3,7 +3,7 @@ package rifs
|
|||
import (
|
||||
"io"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// ReadSeekerToReaderAt is a wrapper that allows a ReadSeeker to masquerade as a
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/filesystem/seekable_buffer.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/filesystem/seekable_buffer.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// SeekableBuffer is a simple memory structure that satisfies
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/filesystem/utility.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/filesystem/utility.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// GetOffset returns the current offset of the Seeker and just panics if unable
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/v2/filesystem/bounceback.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/v2/filesystem/bounceback.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"io"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// BouncebackStats describes operation counts.
|
||||
|
|
2
vendor/github.com/dsoprea/go-utility/v2/filesystem/boundedreadwriteseekcloser.go
generated
vendored
2
vendor/github.com/dsoprea/go-utility/v2/filesystem/boundedreadwriteseekcloser.go
generated
vendored
|
@ -3,7 +3,7 @@ package rifs
|
|||
import (
|
||||
"io"
|
||||
|
||||
log "github.com/dsoprea/go-logging"
|
||||
"github.com/dsoprea/go-logging"
|
||||
)
|
||||
|
||||
// BoundedReadWriteSeekCloser wraps a RWS that is also a closer with boundaries.
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue