-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gcs immu #10
gcs immu #10
Conversation
fmt.Printf("newestAtUnlessDeleted del pit %s deleted=%t\n", v.Timestamp, v.IsDeleteMarker) | ||
|
||
//return v, !v.IsDeleteMarker | ||
return v, !v.IsDeleteMarker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fmt.Printf("getOlderThan %s: vs[i].Timestamp: %s \n", t, vs[i].Timestamp) | ||
if vs[i].Timestamp.After(t) { | ||
fmt.Printf(" Skippo versione %s del %s. Troppo nuova.\n", vs[i].Version, vs[i].Timestamp) | ||
return vs[:i] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repo/blob/gcs/gcs_versioned.go
Outdated
bm := blob.Metadata{ | ||
BlobID: toBlobID(oi.Name, prefix), | ||
Length: oi.Size, | ||
Timestamp: oi.Created, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repo/blob/gcs/gcs_versioned.go
Outdated
fmt.Printf("****\n\nfile: %s#%d has created: %v and deleted: %v - vs PIT: %v\n\n****", oi.Name, oi.Generation, oi.Created, oi.Deleted, *gcs.PointInTime) | ||
return versionMetadata{ | ||
Metadata: bm, | ||
IsDeleteMarker: !oi.Deleted.IsZero() && (gcs.PointInTime == nil || oi.Deleted.Before(*gcs.PointInTime)), // needs to consider PIT... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.