rattler
rattler copied to clipboard
Channel in `RepoDataRecord` is a simple String
Should we either create a Channel type that we can use in RepoDataRecord and store it or a smart pointer to a shared / cached channel? Or should we type it as an URL?
It would be nice to be able to call a .url() and .name() method on the channel to get the short or expanded versions.
I think this issue needs to be updated, there is a Channel type but RepoDataRecord still uses a string.
The type also recently changed to an Arc<str>. I guess we could also change this to an Arc<Channel>?
That'd make sense.