Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Contents #35

Open
JamesMc86 opened this issue Nov 29, 2023 · 1 comment
Open

List Contents #35

JamesMc86 opened this issue Nov 29, 2023 · 1 comment

Comments

@JamesMc86
Copy link
Contributor

Need to be able to query the available groups and channels in the file.

Will need at least two calls:

list_groups() -> Groups
list_channels_in_group(group) -> Channels

Maybe we could list entire contents too:

list_channels() -> ChannelsWithGroupInfo

@JamesMc86
Copy link
Contributor Author

For the channels in a group, if we use a btree we can nearly use the range to get just those of interest. See https://www.thecodedmessage.com/posts/prefix-ranges/

JamesMc86 added a commit that referenced this issue Dec 7, 2023
Added the ability to list the groups and channels in the file.

Refs: #35
JamesMc86 added a commit that referenced this issue Dec 7, 2023
Added the ability to list the groups and channels in the file.

Refs: #35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant