Add move, link, and unlink operations
This commit is contained in:
parent
77cdbdb12a
commit
439f627d9a
3 changed files with 275 additions and 69 deletions
|
@ -146,7 +146,7 @@ impl ChannelStore {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn channel_at_index(&self, ix: usize) -> Option<(&Arc<Channel>, &Arc<[ChannelId]>)> {
|
||||
pub fn channel_at_index(&self, ix: usize) -> Option<(&Arc<Channel>, &ChannelPath)> {
|
||||
let path = self.channel_index.get(ix)?;
|
||||
let id = path.last().unwrap();
|
||||
let channel = self.channel_for_id(*id).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue