mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 05:27:47 +02:00
take configuration in env vars temporarily
This commit is contained in:
parent
97a8a87c24
commit
1a92613ddc
3 changed files with 25 additions and 6 deletions
|
@ -23,7 +23,7 @@ const NEXT_OPERATION: u64 = 2;
|
|||
const NEXT_WORKING_SET_INDEX: u64 = 3;
|
||||
|
||||
impl<'t> KVStorage<'t> {
|
||||
pub fn new(directory: &Path) -> Fallible<KVStorage> {
|
||||
pub fn new<P: AsRef<Path>>(directory: P) -> Fallible<KVStorage<'t>> {
|
||||
let mut config = Config::default(directory);
|
||||
config.bucket("tasks", None);
|
||||
config.bucket("numbers", None);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue