Update version to expected version
This commit is contained in:
parent
e3488b9a5c
commit
3edc931d44
@ -5,7 +5,6 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"math"
|
|
||||||
"runtime/trace"
|
"runtime/trace"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
@ -39,9 +38,7 @@ const (
|
|||||||
// versionWithNameInMeta points to the backup format version where we begin
|
// versionWithNameInMeta points to the backup format version where we begin
|
||||||
// storing files in kopia with their item ID instead of their OneDrive file
|
// storing files in kopia with their item ID instead of their OneDrive file
|
||||||
// name.
|
// name.
|
||||||
// TODO(ashmrtn): Update this to a real value when we merge the file name
|
versionWithNameInMeta = 5
|
||||||
// change. Set to MAXINT for now to keep the if-check using it working.
|
|
||||||
versionWithNameInMeta = math.MaxInt
|
|
||||||
// versionWithDataAndMetaFilesInDir moves the .dirmeta entries to the
|
// versionWithDataAndMetaFilesInDir moves the .dirmeta entries to the
|
||||||
// directory they belong to instead of being in the parent of the directory
|
// directory they belong to instead of being in the parent of the directory
|
||||||
// they belong to.
|
// they belong to.
|
||||||
|
|||||||
@ -14,7 +14,7 @@ import (
|
|||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/corso/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
const Version = 3
|
const Version = 5
|
||||||
|
|
||||||
// Backup represents the result of a backup operation
|
// Backup represents the result of a backup operation
|
||||||
type Backup struct {
|
type Backup struct {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user