From 9f0783b64c9610252fb36578d025cd24f9400cff Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 May 2021 00:36:04 +0100 Subject: [PATCH] Drop some todos: Library listing This has been sorted out. Signed-off-by: Ian Jackson --- src/mgmtchannel.rs | 1 - src/shapelib.rs | 1 - 2 files changed, 2 deletions(-) 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() -- 2.30.2