(&self)
| 142 | match self.kind() { |
| 143 | ResPathKind::Res => &self.0["res://".len()..], |
| 144 | ResPathKind::User => &self.0["user://".len()..], |
| 145 | ResPathKind::Dlc => { |
| 146 | let rest = &self.0["dlc://".len()..]; |
| 147 | rest.split_once('/').map_or("", |(_, body)| body) |
| 148 | } |
| 149 | } |