aboutsummaryrefslogtreecommitdiff
path: root/tests/largeobject_test.go
Commit message (Collapse)AuthorAgeFilesLines
* fix manually fixable lintsStefan Majewsky2024-07-011-1/+1
|
* fix autofixable lintsStefan Majewsky2024-07-011-29/+29
|
* Fix linting errorsSandro Jäckel2022-10-281-4/+2
|
* Format with go 1.19Sandro Jäckel2022-10-261-2/+0
|
* add test for segment expirationMuhammad Talal Anwar2018-09-061-4/+6
|
* add test for large object expirationMuhammad Talal Anwar2018-09-061-19/+54
|
* test coverage for large object operationsStefan Majewsky2018-05-021-0/+195
|
* revamp the LargeObject APIStefan Majewsky2018-05-021-105/+69
| | | | | | | | | | I thought about this some more, and I believe the Writer-based approach in the previous version of the LargeObject API does not scale: It makes it very hard to write code that uploads segments without resorting to a buffer the same size as the segments. I don't want gigabyte-scale buffers filling up my RAM, so this commit switches to a different API based on Readers. LargeObject.Append() now behaves very similar to Object.Upload(), which I find quite nice.
* add DeleteOptions to Object.Delete()Stefan Majewsky2018-04-301-0/+71
|
* initial support for large objectsStefan Majewsky2018-04-301-0/+362
This has gone through a lot of iterations on my branch, and I'm quite happy with the parts of the API that exist now. Test coverage can still be better, and will get better in the following commits. The API is not yet finished: I want to add Options arguments to Object.Upload(), Object.Copy(), Object.Move() and Object.Delete() that specify how each of these operations affect existing segments (and, later, also existing symlinks). For Upload(), uploading in segments shall become as easy as flipping a single switch.