"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
vendor: drop unused github.com/djherbis/times
Nick Craig-Woodf524a4c1cce5
diff --git a/go.mod b/go.modindex 23d9db62d..07cdbe945 100644--- a/go.mod+++ b/go.mod@@ -19,7 +19,7 @@ require (github.com/btcsuite/btcutil v1.0.2 // indirectgithub.com/calebcase/tmpfile v1.0.2 // indirectgithub.com/coreos/go-semver v0.3.0- github.com/djherbis/times v1.2.0+ github.com/djherbis/times v1.2.0 // indirectgithub.com/dropbox/dropbox-sdk-go-unofficial v5.6.0+incompatiblegithub.com/dvyukov/go-fuzz v0.0.0-20200318091601-be3528f3a813 // indirectgithub.com/elazarl/go-bindata-assetfs v1.0.0 // indirectdiff --git a/vendor/github.com/djherbis/times/.travis.sh b/vendor/github.com/djherbis/times/.travis.shdeleted file mode 100644index c59e062f7..000000000--- a/vendor/github.com/djherbis/times/.travis.sh+++ /dev/null@@ -1,28 +0,0 @@-#!/bin/bash-set -e--script() {- if [ "${TRAVIS_PULL_REQUEST}" == "false" ];- then- COVERALLS_PARALLEL=true-- if [ ! -z "$JS" ];- then- bash js.cover.sh- else- go test -covermode=count -coverprofile=profile.cov- fi-- go get github.com/axw/gocov/gocov github.com/mattn/goveralls golang.org/x/tools/cmd/cover- $HOME/gopath/bin/goveralls --coverprofile=profile.cov -service=travis-ci- fi-- if [ -z "$JS" ];- then- go get golang.org/x/lint/golint && golint ./...- go vet- go test -bench=.* -v ./...- fi-}--"$@"\ No newline at end of filediff --git a/vendor/github.com/djherbis/times/.travis.yml b/vendor/github.com/djherbis/times/.travis.ymldeleted file mode 100644index 723ccbf0c..000000000--- a/vendor/github.com/djherbis/times/.travis.yml+++ /dev/null@@ -1,19 +0,0 @@-language: go-matrix:- include:- - os: linux- go: 1.11- - os: linux- go: 1.11- env:- - JS=1- - os: osx- go: 1.11- - os: windows- go: 1.11-script: bash .travis.sh script-notifications:- webhooks: https://coveralls.io/webhook- email:- on_success: never- on_failure: change\ No newline at end of filediff --git a/vendor/github.com/djherbis/times/LICENSE b/vendor/github.com/djherbis/times/LICENSEdeleted file mode 100644index 1e7b7cc09..000000000--- a/vendor/github.com/djherbis/times/LICENSE+++ /dev/null@@ -1,22 +0,0 @@-The MIT License (MIT)--Copyright (c) 2015 Dustin H--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.-diff --git a/vendor/github.com/djherbis/times/README.md b/vendor/github.com/djherbis/times/README.mddeleted file mode 100644index 8e1787871..000000000--- a/vendor/github.com/djherbis/times/README.md+++ /dev/null@@ -1,64 +0,0 @@-times-==========--[](https://godoc.org/github.com/djherbis/times)-[](https://github.com/djherbis/times/releases/latest)-[](LICENSE.txt)-[](https://travis-ci.org/djherbis/times)-[](https://coveralls.io/r/djherbis/times?branch=master)-[](https://goreportcard.com/report/github.com/djherbis/times)-[](https://sourcegraph.com/github.com/djherbis/times?badge)--Usage--------------File Times for #golang--Go has a hidden time functions for most platforms, this repo makes them accessible.--```go-package main--import (- "log"-- "gopkg.in/djherbis/times.v1"-)--func main() {- t, err := times.Stat("myfile")- if err != nil {- log.Fatal(err.Error())- }-- log.Println(t.AccessTime())- log.Println(t.ModTime())-- if t.HasChangeTime() {- log.Println(t.ChangeTime())- }-- if t.HasBirthTime() {- log.Println(t.BirthTime())- }-}-```--Supported Times--------------| | windows | linux | solaris | dragonfly | nacl | freebsd | darwin | netbsd | openbsd | plan9 | js |-|:-----:|:-------:|:-----:|:-------:|:---------:|:------:|:-------:|:----:|:------:|:-------:|:-----:|:-----:|-| atime | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |-| mtime | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |-| ctime | ✓* | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | ✓ |-| btime | ✓ | | | | | ✓ | ✓| ✓ | |--* Windows XP does not have ChangeTime so HasChangeTime = false,-however Vista onward does have ChangeTime so Timespec.HasChangeTime() will-only return false on those platforms when the syscall used to obtain them fails.-* Also note, Get(FileInfo) will now only return values available in FileInfo.Sys(), this means Stat() is required to get ChangeTime on Windows--Installation--------------```sh-go get gopkg.in/djherbis/times.v1-```diff --git a/vendor/github.com/djherbis/times/ctime_windows.go b/vendor/github.com/djherbis/times/ctime_windows.godeleted file mode 100644index f2a5c8b7b..000000000--- a/vendor/github.com/djherbis/times/ctime_windows.go+++ /dev/null@@ -1,149 +0,0 @@-package times--import (- "os"- "syscall"- "time"- "unsafe"-)--// Stat returns the Timespec for the given filename.-func Stat(name string) (Timespec, error) {- ts, err := platformSpecficStat(name)- if err == nil {- return ts, err- }-- return stat(name, os.Stat)-}--// Lstat returns the Timespec for the given filename, and does not follow Symlinks.-func Lstat(name string) (Timespec, error) {- ts, err := platformSpecficLstat(name)- if err == nil {- return ts, err- }-- return stat(name, os.Lstat)-}--type timespecEx struct {- atime- mtime- ctime- btime-}--// StatFile finds a Windows Timespec with ChangeTime.-func StatFile(file *os.File) (Timespec, error) {- return statFile(syscall.Handle(file.Fd()))-}--func statFile(h syscall.Handle) (Timespec, error) {- var fileInfo fileBasicInfo- if err := getFileInformationByHandleEx(h, &fileInfo); err != nil {- return nil, err- }-- var t timespecEx- t.atime.v = time.Unix(0, fileInfo.LastAccessTime.Nanoseconds())- t.mtime.v = time.Unix(0, fileInfo.LastWriteTime.Nanoseconds())- t.ctime.v = time.Unix(0, fileInfo.ChangeTime.Nanoseconds())- t.btime.v = time.Unix(0, fileInfo.CreationTime.Nanoseconds())- return t, nil-}--func platformSpecficLstat(name string) (Timespec, error) {- if findProcErr != nil {- return nil, findProcErr- }-- isSym, err := isSymlink(name)- if err != nil {- return nil, err- }-- var attrs = uint32(syscall.FILE_FLAG_BACKUP_SEMANTICS)- if isSym {- attrs |= syscall.FILE_FLAG_OPEN_REPARSE_POINT- }-- return openHandleAndStat(name, attrs)-}--func isSymlink(name string) (bool, error) {- fi, err := os.Lstat(name)- if err != nil {- return false, err- }- return fi.Mode()&os.ModeSymlink != 0, nil-}--func platformSpecficStat(name string) (Timespec, error) {- if findProcErr != nil {- return nil, findProcErr- }-- return openHandleAndStat(name, syscall.FILE_FLAG_BACKUP_SEMANTICS)-}--func openHandleAndStat(name string, attrs uint32) (Timespec, error) {- pathp, e := syscall.UTF16PtrFromString(name)- if e != nil {- return nil, e- }- h, e := syscall.CreateFile(pathp,- syscall.FILE_WRITE_ATTRIBUTES, syscall.FILE_SHARE_WRITE, nil,- syscall.OPEN_EXISTING, attrs, 0)- if e != nil {- return nil, e- }- defer syscall.Close(h)-- return statFile(h)-}--var (- findProcErr error- procGetFileInformationByHandleEx *syscall.Proc-)--func init() {- var modkernel32 *syscall.DLL- if modkernel32, findProcErr = syscall.LoadDLL("kernel32.dll"); findProcErr == nil {- procGetFileInformationByHandleEx, findProcErr = modkernel32.FindProc("GetFileInformationByHandleEx")- }-}--// fileBasicInfo holds the C++ data for FileTimes.-//-// https://msdn.microsoft.com/en-us/library/windows/desktop/aa364217(v=vs.85).aspx-type fileBasicInfo struct {- CreationTime syscall.Filetime- LastAccessTime syscall.Filetime- LastWriteTime syscall.Filetime- ChangeTime syscall.Filetime- FileAttributes uint32- _ uint32 // padding-}--type fileInformationClass int--const (- fileBasicInfoClass fileInformationClass = iota-)--func getFileInformationByHandleEx(handle syscall.Handle, data *fileBasicInfo) (err error) {- if findProcErr != nil {- return findProcErr- }-- r1, _, e1 := syscall.Syscall6(procGetFileInformationByHandleEx.Addr(), 4, uintptr(handle), uintptr(fileBasicInfoClass), uintptr(unsafe.Pointer(data)), unsafe.Sizeof(*data), 0, 0)- if r1 == 0 {- err = syscall.EINVAL- if e1 != 0 {- err = error(e1)- }- }- return-}diff --git a/vendor/github.com/djherbis/times/js.cover.dockerfile b/vendor/github.com/djherbis/times/js.cover.dockerfiledeleted file mode 100644index 241eba3e6..000000000--- a/vendor/github.com/djherbis/times/js.cover.dockerfile+++ /dev/null@@ -1,9 +0,0 @@-FROM golang:1.11--RUN curl -sL https://deb.nodesource.com/setup_8.x | bash-RUN apt-get install --yes nodejs--WORKDIR /go/src/github.com/djherbis/times-COPY . .--RUN GOOS=js GOARCH=wasm go test -covermode=count -coverprofile=profile.cov -exec="$(go env GOROOT)/misc/wasm/go_js_wasm_exec"\ No newline at end of filediff --git a/vendor/github.com/djherbis/times/js.cover.sh b/vendor/github.com/djherbis/times/js.cover.shdeleted file mode 100644index 150610462..000000000--- a/vendor/github.com/djherbis/times/js.cover.sh+++ /dev/null@@ -1,7 +0,0 @@-#!/bin/bash-set -e--docker build -f js.cover.dockerfile -t js.cover.djherbis.times .-docker create --name js.cover.djherbis.times js.cover.djherbis.times-docker cp js.cover.djherbis.times:/go/src/github.com/djherbis/times/profile.cov .-docker rm -v js.cover.djherbis.times\ No newline at end of filediff --git a/vendor/github.com/djherbis/times/times.go b/vendor/github.com/djherbis/times/times.godeleted file mode 100644index 190269850..000000000--- a/vendor/github.com/djherbis/times/times.go+++ /dev/null@@ -1,74 +0,0 @@-// Package times provides a platform-independent way to get atime, mtime, ctime and btime for files.-package times--import (- "os"- "time"-)--// Get returns the Timespec for the given FileInfo-func Get(fi os.FileInfo) Timespec {- return getTimespec(fi)-}--type statFunc func(string) (os.FileInfo, error)--func stat(name string, sf statFunc) (Timespec, error) {- fi, err := sf(name)- if err != nil {- return nil, err- }- return getTimespec(fi), nil-}--// Timespec provides access to file times.-// ChangeTime() panics unless HasChangeTime() is true and-// BirthTime() panics unless HasBirthTime() is true.-type Timespec interface {- ModTime() time.Time- AccessTime() time.Time- ChangeTime() time.Time- BirthTime() time.Time- HasChangeTime() bool- HasBirthTime() bool-}--type atime struct {- v time.Time-}--func (a atime) AccessTime() time.Time { return a.v }--type ctime struct {- v time.Time-}--func (ctime) HasChangeTime() bool { return true }--func (c ctime) ChangeTime() time.Time { return c.v }--type mtime struct {- v time.Time-}--func (m mtime) ModTime() time.Time { return m.v }--type btime struct {- v time.Time-}--func (btime) HasBirthTime() bool { return true }--func (b btime) BirthTime() time.Time { return b.v }--type noctime struct{}--func (noctime) HasChangeTime() bool { return false }--func (noctime) ChangeTime() time.Time { panic("ctime not available") }--type nobtime struct{}--func (nobtime) HasBirthTime() bool { return false }--func (nobtime) BirthTime() time.Time { panic("birthtime not available") }diff --git a/vendor/github.com/djherbis/times/times_darwin.go b/vendor/github.com/djherbis/times/times_darwin.godeleted file mode 100644index 94c5e4ca4..000000000--- a/vendor/github.com/djherbis/times/times_darwin.go+++ /dev/null@@ -1,40 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// http://golang.org/src/os/stat_darwin.go--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = true- HasBirthTime = true-)--type timespec struct {- atime- mtime- ctime- btime-}--func timespecToTime(ts syscall.Timespec) time.Time {- return time.Unix(int64(ts.Sec), int64(ts.Nsec))-}--func getTimespec(fi os.FileInfo) (t timespec) {- stat := fi.Sys().(*syscall.Stat_t)- t.atime.v = timespecToTime(stat.Atimespec)- t.mtime.v = timespecToTime(stat.Mtimespec)- t.ctime.v = timespecToTime(stat.Ctimespec)- t.btime.v = timespecToTime(stat.Birthtimespec)- return t-}diff --git a/vendor/github.com/djherbis/times/times_dragonfly.go b/vendor/github.com/djherbis/times/times_dragonfly.godeleted file mode 100644index e11610c72..000000000--- a/vendor/github.com/djherbis/times/times_dragonfly.go+++ /dev/null@@ -1,39 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// http://golang.org/src/os/stat_dragonfly.go--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = true- HasBirthTime = false-)--type timespec struct {- atime- mtime- ctime- nobtime-}--func timespecToTime(ts syscall.Timespec) time.Time {- return time.Unix(int64(ts.Sec), int64(ts.Nsec))-}--func getTimespec(fi os.FileInfo) (t timespec) {- stat := fi.Sys().(*syscall.Stat_t)- t.atime.v = timespecToTime(stat.Atim)- t.mtime.v = timespecToTime(stat.Mtim)- t.ctime.v = timespecToTime(stat.Ctim)- return t-}diff --git a/vendor/github.com/djherbis/times/times_freebsd.go b/vendor/github.com/djherbis/times/times_freebsd.godeleted file mode 100644index 59d4335cc..000000000--- a/vendor/github.com/djherbis/times/times_freebsd.go+++ /dev/null@@ -1,40 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// http://golang.org/src/os/stat_freebsd.go--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = true- HasBirthTime = true-)--type timespec struct {- atime- mtime- ctime- btime-}--func timespecToTime(ts syscall.Timespec) time.Time {- return time.Unix(int64(ts.Sec), int64(ts.Nsec))-}--func getTimespec(fi os.FileInfo) (t timespec) {- stat := fi.Sys().(*syscall.Stat_t)- t.atime.v = timespecToTime(stat.Atimespec)- t.mtime.v = timespecToTime(stat.Mtimespec)- t.ctime.v = timespecToTime(stat.Ctimespec)- t.btime.v = timespecToTime(stat.Birthtimespec)- return t-}diff --git a/vendor/github.com/djherbis/times/times_js.go b/vendor/github.com/djherbis/times/times_js.godeleted file mode 100644index 40fbd6099..000000000--- a/vendor/github.com/djherbis/times/times_js.go+++ /dev/null@@ -1,41 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// https://golang.org/src/os/stat_nacljs.go--// +build js,wasm--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = true- HasBirthTime = false-)--type timespec struct {- atime- mtime- ctime- nobtime-}--func timespecToTime(sec, nsec int64) time.Time {- return time.Unix(sec, nsec)-}--func getTimespec(fi os.FileInfo) (t timespec) {- stat := fi.Sys().(*syscall.Stat_t)- t.atime.v = timespecToTime(stat.Atime, stat.AtimeNsec)- t.mtime.v = timespecToTime(stat.Mtime, stat.MtimeNsec)- t.ctime.v = timespecToTime(stat.Ctime, stat.CtimeNsec)- return t-}diff --git a/vendor/github.com/djherbis/times/times_linux.go b/vendor/github.com/djherbis/times/times_linux.godeleted file mode 100644index d9eb6976e..000000000--- a/vendor/github.com/djherbis/times/times_linux.go+++ /dev/null@@ -1,39 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// http://golang.org/src/os/stat_linux.go--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = true- HasBirthTime = false-)--type timespec struct {- atime- mtime- ctime- nobtime-}--func timespecToTime(ts syscall.Timespec) time.Time {- return time.Unix(int64(ts.Sec), int64(ts.Nsec))-}--func getTimespec(fi os.FileInfo) (t timespec) {- stat := fi.Sys().(*syscall.Stat_t)- t.atime.v = timespecToTime(stat.Atim)- t.mtime.v = timespecToTime(stat.Mtim)- t.ctime.v = timespecToTime(stat.Ctim)- return t-}diff --git a/vendor/github.com/djherbis/times/times_nacl.go b/vendor/github.com/djherbis/times/times_nacl.godeleted file mode 100644index 7ef3ed50e..000000000--- a/vendor/github.com/djherbis/times/times_nacl.go+++ /dev/null@@ -1,39 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// https://golang.org/src/os/stat_nacljs.go--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = true- HasBirthTime = false-)--type timespec struct {- atime- mtime- ctime- nobtime-}--func timespecToTime(sec, nsec int64) time.Time {- return time.Unix(sec, nsec)-}--func getTimespec(fi os.FileInfo) (t timespec) {- stat := fi.Sys().(*syscall.Stat_t)- t.atime.v = timespecToTime(stat.Atime, stat.AtimeNsec)- t.mtime.v = timespecToTime(stat.Mtime, stat.MtimeNsec)- t.ctime.v = timespecToTime(stat.Ctime, stat.CtimeNsec)- return t-}diff --git a/vendor/github.com/djherbis/times/times_netbsd.go b/vendor/github.com/djherbis/times/times_netbsd.godeleted file mode 100644index fa9149e1b..000000000--- a/vendor/github.com/djherbis/times/times_netbsd.go+++ /dev/null@@ -1,40 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// http://golang.org/src/os/stat_netbsd.go--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = true- HasBirthTime = true-)--type timespec struct {- atime- mtime- ctime- btime-}--func timespecToTime(ts syscall.Timespec) time.Time {- return time.Unix(int64(ts.Sec), int64(ts.Nsec))-}--func getTimespec(fi os.FileInfo) (t timespec) {- stat := fi.Sys().(*syscall.Stat_t)- t.atime.v = timespecToTime(stat.Atimespec)- t.mtime.v = timespecToTime(stat.Mtimespec)- t.ctime.v = timespecToTime(stat.Ctimespec)- t.btime.v = timespecToTime(stat.Birthtimespec)- return t-}diff --git a/vendor/github.com/djherbis/times/times_openbsd.go b/vendor/github.com/djherbis/times/times_openbsd.godeleted file mode 100644index 03c7a65a2..000000000--- a/vendor/github.com/djherbis/times/times_openbsd.go+++ /dev/null@@ -1,39 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// http://golang.org/src/os/stat_openbsd.go--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = true- HasBirthTime = false-)--type timespec struct {- atime- mtime- ctime- nobtime-}--func timespecToTime(ts syscall.Timespec) time.Time {- return time.Unix(int64(ts.Sec), int64(ts.Nsec))-}--func getTimespec(fi os.FileInfo) (t timespec) {- stat := fi.Sys().(*syscall.Stat_t)- t.atime.v = timespecToTime(stat.Atim)- t.mtime.v = timespecToTime(stat.Mtim)- t.ctime.v = timespecToTime(stat.Ctim)- return t-}diff --git a/vendor/github.com/djherbis/times/times_plan9.go b/vendor/github.com/djherbis/times/times_plan9.godeleted file mode 100644index 0b1beebf3..000000000--- a/vendor/github.com/djherbis/times/times_plan9.go+++ /dev/null@@ -1,34 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// http://golang.org/src/os/stat_plan9.go--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = false- HasBirthTime = false-)--type timespec struct {- atime- mtime- noctime- nobtime-}--func getTimespec(fi os.FileInfo) (t timespec) {- stat := fi.Sys().(*syscall.Dir)- t.atime.v = time.Unix(int64(stat.Atime), 0)- t.mtime.v = time.Unix(int64(stat.Mtime), 0)- return t-}diff --git a/vendor/github.com/djherbis/times/times_solaris.go b/vendor/github.com/djherbis/times/times_solaris.godeleted file mode 100644index b1b15bf9f..000000000--- a/vendor/github.com/djherbis/times/times_solaris.go+++ /dev/null@@ -1,39 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// http://golang.org/src/os/stat_solaris.go--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = true- HasBirthTime = false-)--type timespec struct {- atime- mtime- ctime- nobtime-}--func timespecToTime(ts syscall.Timespec) time.Time {- return time.Unix(int64(ts.Sec), int64(ts.Nsec))-}--func getTimespec(fi os.FileInfo) (t timespec) {- stat := fi.Sys().(*syscall.Stat_t)- t.atime.v = timespecToTime(stat.Atim)- t.mtime.v = timespecToTime(stat.Mtim)- t.ctime.v = timespecToTime(stat.Ctim)- return t-}diff --git a/vendor/github.com/djherbis/times/times_windows.go b/vendor/github.com/djherbis/times/times_windows.godeleted file mode 100644index 36828f286..000000000--- a/vendor/github.com/djherbis/times/times_windows.go+++ /dev/null@@ -1,36 +0,0 @@-// Copyright 2009 The Go Authors. All rights reserved.-// Use of this source code is governed by a BSD-style-// license that can be found in the LICENSE file.--// http://golang.org/src/os/stat_windows.go--package times--import (- "os"- "syscall"- "time"-)--// HasChangeTime and HasBirthTime are true if and only if-// the target OS supports them.-const (- HasChangeTime = false- HasBirthTime = true-)--type timespec struct {- atime- mtime- noctime- btime-}--func getTimespec(fi os.FileInfo) Timespec {- var t timespec- stat := fi.Sys().(*syscall.Win32FileAttributeData)- t.atime.v = time.Unix(0, stat.LastAccessTime.Nanoseconds())- t.mtime.v = time.Unix(0, stat.LastWriteTime.Nanoseconds())- t.btime.v = time.Unix(0, stat.CreationTime.Nanoseconds())- return t-}diff --git a/vendor/github.com/djherbis/times/use_generic_stat.go b/vendor/github.com/djherbis/times/use_generic_stat.godeleted file mode 100644index bc51560a8..000000000--- a/vendor/github.com/djherbis/times/use_generic_stat.go+++ /dev/null@@ -1,15 +0,0 @@-// +build !windows--package times--import "os"--// Stat returns the Timespec for the given filename.-func Stat(name string) (Timespec, error) {- return stat(name, os.Stat)-}--// Lstat returns the Timespec for the given filename, and does not follow Symlinks.-func Lstat(name string) (Timespec, error) {- return stat(name, os.Lstat)-}diff --git a/vendor/modules.txt b/vendor/modules.txtindex c32ab365d..cb776291b 100644--- a/vendor/modules.txt+++ b/vendor/modules.txt@@ -102,7 +102,6 @@ github.com/cpuguy83/go-md2man/v2/md2mangithub.com/davecgh/go-spew/spew# github.com/djherbis/times v1.2.0## explicit-github.com/djherbis/times# github.com/dropbox/dropbox-sdk-go-unofficial v5.6.0+incompatible## explicitgithub.com/dropbox/dropbox-sdk-go-unofficial/dropbox