A bunch of changes, most in response to Peter's review.
authormishaz <misha@curoverse.com>
Sat, 24 Jan 2015 02:22:01 +0000 (02:22 +0000)
committerTom Clegg <tom@curoverse.com>
Fri, 13 Feb 2015 21:25:31 +0000 (16:25 -0500)
commit4df1175e30c21850af394fcd60c9bb7ca3d981a5
tree3520e417f736d694d13b7d70b7d53272635f36d2
parentc2b8ab7045886b62963feb0cd8f9b9291ce1a8b7
A bunch of changes, most in response to Peter's review.

Logger:
Edit() and Record() have been replaced with the single Update() method which takes a function as input (suggested by Tom).
lastWrite replaced by nextWriteAllowed, for cleaner logic
Added writeScheduled to reduce the number of writes scheduled and attempted, thereby reducing lock contention
Added sanity-checking of params
A bunch of overdue cleanup
Update documentation to reflect the above changes

Manifest:
Renamed ManifestLine to ManifestStream

Util:
Deleted a lot of crap that proved less useful than I thought.
Moved collection.NumberCollectionsAvailable() to util.NumberItemsAvailable() and made it more generic.

collection:
Just cleanup in response to changes in above packages.

keep:
Switched Mtime from int to int64 to avoid y2038 problems.
Switched approach for avoiding keep proxy from using "accessible" to filtering on service_type = disk.
Cleanup in response to changes in above packages.

loggerutil:
Cleanup in response to changes in logger.
sdk/go/logger/logger.go
sdk/go/manifest/manifest.go
sdk/go/manifest/manifest_test.go
sdk/go/util/util.go
services/datamanager/collection/collection.go
services/datamanager/datamanager.go
services/datamanager/keep/keep.go
services/datamanager/loggerutil/loggerutil.go