diff options
| author | Dan Engelbrecht <[email protected]> | 2022-03-25 12:04:59 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-03-31 11:29:27 +0200 |
| commit | 6a166635b5c1d12aae5e58a04fbe423cf9995f6f (patch) | |
| tree | d8ae7df19316397dd2e22a939c003a0b1da589d9 /zenstore/cas.cpp | |
| parent | Migration now works in larger disk IO chunks (diff) | |
| download | zen-6a166635b5c1d12aae5e58a04fbe423cf9995f6f.tar.xz zen-6a166635b5c1d12aae5e58a04fbe423cf9995f6f.zip | |
incremental migration with optional clean of source
add more fine-grained access modes for BasicFile
Diffstat (limited to 'zenstore/cas.cpp')
| -rw-r--r-- | zenstore/cas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/cas.cpp b/zenstore/cas.cpp index f30439d39..f0a1c9776 100644 --- a/zenstore/cas.cpp +++ b/zenstore/cas.cpp @@ -164,7 +164,7 @@ CasImpl::OpenOrCreateManifest() std::error_code Ec; BasicFile ManifestFile; - ManifestFile.Open(ManifestPath.c_str(), BasicFile::EMode::kWrite, Ec); + ManifestFile.Open(ManifestPath.c_str(), BasicFile::EMode::kRead, Ec); bool ManifestIsOk = false; |