projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4609656
)
apply to outline
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 1 Jan 2026 00:29:28 +0000
(16:29 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 1 Jan 2026 00:29:28 +0000
(16:29 -0800)
rust/pspp/src/cli/show_spv.rs
patch
|
blob
|
history
diff --git
a/rust/pspp/src/cli/show_spv.rs
b/rust/pspp/src/cli/show_spv.rs
index 475aaa83413bf14c2734511979a6192af0e40957..d60219997fd7729b356bb575ab3d94df938682cd 100644
(file)
--- a/
rust/pspp/src/cli/show_spv.rs
+++ b/
rust/pspp/src/cli/show_spv.rs
@@
-139,7
+139,8
@@
impl ShowSpv {
fn legacy_data(self) -> Result<()> {
let mut archive = SpvArchive::open_file(&self.input, self.password.as_deref())?;
let outline = archive.read_outline(|w| eprintln!("{w}"))?;
- for item in outline.items {
+ let items = self.criteria.apply(outline.items);
+ for item in items {
for item in item.iter_in_order() {
if let Some(spv_info) = item.spv_info()
&& let Some(members) = &spv_info.members