File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -647,7 +647,7 @@ impl NodeTable {
647647 /// of all nodes for which [`crate::NodeFlags::is_sample`]
648648 /// is `true`.
649649 pub fn samples_as_vector ( & self ) -> Vec < NodeId > {
650- self . create_node_id_vector ( |row| row. flags . contains ( NodeFlags :: new_sample ( ) ) )
650+ self . create_node_id_vector ( |row| row. flags . contains ( NodeFlags :: IS_SAMPLE ) )
651651 }
652652
653653 /// Obtain a vector containing the indexes ("ids") of all nodes
Original file line number Diff line number Diff line change @@ -673,9 +673,9 @@ pub struct NodeFlags(tsk_flags_t);
673673
674674impl NodeFlags {
675675 /// Default (empty)
676- const NONE : tsk_flags_t = 0 ;
676+ pub const NONE : tsk_flags_t = 0 ;
677677 /// Node is a sample
678- const IS_SAMPLE : tsk_flags_t = ll_bindings:: TSK_NODE_IS_SAMPLE ;
678+ pub const IS_SAMPLE : tsk_flags_t = ll_bindings:: TSK_NODE_IS_SAMPLE ;
679679
680680 /// Create a new flags instance with `IS_SAMPLE` set.
681681 pub fn new_sample ( ) -> Self {
You can’t perform that action at this time.
0 commit comments