collab-common 0.0.7

Code shared by collab's client and server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

use crate::{Directory, Document};

/// TODO: docs
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub enum FileKind {
    /// TODO: docs
    Directory(Directory),

    /// TODO: docs
    Document(Document),
}