aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-02-13 10:58:39 -0700
committerAdelyn Breelove <[email protected]>2019-02-13 10:58:39 -0700
commitafa6b297bd7bf9361727ae78794d9310d3678d13 (patch)
tree7b0a4cda613e07585e16a3bdf48135cecb3b5174 /lib
parentAdd docs to cache (diff)
downloaddisml-afa6b297bd7bf9361727ae78794d9310d3678d13.tar.xz
disml-afa6b297bd7bf9361727ae78794d9310d3678d13.zip
Re-arrange and whatnot
Diffstat (limited to 'lib')
-rw-r--r--lib/cache.mli4
-rw-r--r--lib/http/rl.ml (renamed from lib/rl.ml)0
-rw-r--r--lib/http/rl.mli (renamed from lib/rl.mli)0
3 files changed, 3 insertions, 1 deletions
diff --git a/lib/cache.mli b/lib/cache.mli
index 460afd0..1909303 100644
--- a/lib/cache.mli
+++ b/lib/cache.mli
@@ -10,7 +10,9 @@ module GuildMap : module type of Map.Make(Guild_id_t)
(** Represents a Map of {!User_id.t} keys. *)
module UserMap : module type of Map.Make(User_id_t)
-(** The full cache record. Immutable and intended to be wrapped in a concurrency-safe wrapper such as {{!Async.Mvar.Read_write.t}Mvar}. *)
+(** The full cache record. Immutable and intended to be wrapped in a concurrency-safe wrapper such as {{!Async.Mvar.Read_write.t}Mvar}.
+ Channels are split by type so it isn't necessary to match them later on.
+*)
type t =
{ text_channels: Channel_t.guild_text ChannelMap.t
; voice_channels: Channel_t.guild_voice ChannelMap.t
diff --git a/lib/rl.ml b/lib/http/rl.ml
index f0c15be..f0c15be 100644
--- a/lib/rl.ml
+++ b/lib/http/rl.ml
diff --git a/lib/rl.mli b/lib/http/rl.mli
index 973f02f..973f02f 100644
--- a/lib/rl.mli
+++ b/lib/http/rl.mli