Fast and robust atproto CAR file processing in rust
14
fork

Configure Feed

Select the types of activity you want to include in your feed.

key helper for WalkItem

phil 6fffbd3f ea6e0dc0

+9
+9
src/walk.rs
··· 112 112 MissingSubtree { cid: Cid }, 113 113 } 114 114 115 + impl WalkItem { 116 + pub fn key(&self) -> Option<&RepoPath> { 117 + match self { 118 + Self::Record(Output { key, .. }) | Self::MissingRecord { key, .. } => Some(key), 119 + _ => None, 120 + } 121 + } 122 + } 123 + 115 124 /// A single record emitted by the walker. 116 125 #[derive(Debug, PartialEq)] 117 126 pub struct Output<T = Bytes> {