diff options
Diffstat (limited to 'lib/kernel/Session.ml')
| -rw-r--r-- | lib/kernel/Session.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/kernel/Session.ml b/lib/kernel/Session.ml index 1abd278..0f5f353 100644 --- a/lib/kernel/Session.ml +++ b/lib/kernel/Session.ml @@ -4,7 +4,7 @@ module Make (S : Abstract.Storage.STORAGE) = struct class session storage state = object (self) - inherit Lifecycle.exclusive + inherit Lifecycle.counted inherit Identity.of_id method to_string = "session" val storage : S.connection = storage @@ -14,6 +14,8 @@ module Make (S : Abstract.Storage.STORAGE) = struct method protocols = Protocols.[Directory.make self; Session.make self] method list = Ok (BatFingerTree.singleton "branch") + method destroy = () + method find = function | "branch" -> |
