diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-10 07:15:05 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-10 07:15:05 +0000 |
commit | 9731dc86fa9b12adc064b99910dddb58932c71cf (patch) | |
tree | 00a358ff397e2b7b0fc3377564288f5c86b850c5 /src/cachestorefiles.cpp | |
parent | 8baf7e1e75a185c742dc6d5b27e50058635e5522 (diff) | |
download | libbu++-9731dc86fa9b12adc064b99910dddb58932c71cf.tar.gz libbu++-9731dc86fa9b12adc064b99910dddb58932c71cf.tar.bz2 libbu++-9731dc86fa9b12adc064b99910dddb58932c71cf.tar.xz libbu++-9731dc86fa9b12adc064b99910dddb58932c71cf.zip |
Added the new Bu::CacheStoreFiles, it's an uber-simple cache storage system that
maybe would be better to call an example than a fully fledged storage strategy.
It just names files based on your keys. It's very slow, and very wasteful, and
shouldn't be used long-term in most normal cache systems.
Diffstat (limited to 'src/cachestorefiles.cpp')
-rw-r--r-- | src/cachestorefiles.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cachestorefiles.cpp b/src/cachestorefiles.cpp new file mode 100644 index 0000000..7f9d76d --- /dev/null +++ b/src/cachestorefiles.cpp | |||
@@ -0,0 +1,9 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007-2010 Xagasoft, All rights reserved. | ||
3 | * | ||
4 | * This file is part of the libbu++ library and is released under the | ||
5 | * terms of the license contained in the file LICENSE. | ||
6 | */ | ||
7 | |||
8 | #include "bu/cachestorefiles.h" | ||
9 | |||