From: Ian Jackson Date: Sat, 15 May 2021 23:36:04 +0000 (+0100) Subject: Drop some todos: Library listing X-Git-Tag: otter-0.6.0~237 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9f0783b64c9610252fb36578d025cd24f9400cff;p=otter.git Drop some todos: Library listing This has been sorted out. Signed-off-by: Ian Jackson --- diff --git a/src/mgmtchannel.rs b/src/mgmtchannel.rs index cd20b9dd..14726568 100644 --- a/src/mgmtchannel.rs +++ b/src/mgmtchannel.rs @@ -214,7 +214,6 @@ impl MgmtChannelForGame { #[throws(AE)] pub fn list_items(&mut self, lib: Option, pat: String) -> Vec { - // xxx allow globbing of library names let cmd = MgmtCommand::LibraryListByGlob { game: self.game.clone(), lib, pat, diff --git a/src/shapelib.rs b/src/shapelib.rs index a343f027..16147dd4 100644 --- a/src/shapelib.rs +++ b/src/shapelib.rs @@ -433,7 +433,6 @@ impl<'ig> AllRegistries<'ig> { } pub fn lib_name_list(ig: &Instance) -> Vec { - // xxx put bundle id in here or something show it shows up in libs list ig.all_shapelibs().iter().map( |reg| reg.libs.keys().cloned() ).flatten().collect()