workspace::get should not iterate all workspaces
Closed this issue · 0 comments
matthias-t commented
My fault, sorry.
Lines 60 to 73 in 3c6848c
Instead it should only try to read from ~/workspace/NAME.toml
. That implies moving workspace::Workspace::data_path(&self)
to something like workspace::file_path(name: &str)
.