1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Files schema: content-addressed file storage with directory trees and
//! import snapshots.
//!
//! Used by `files.rs` (the faculty CLI) and by any downstream consumer
//! that wants to read file entities, directory trees, or import snapshots
//! from a pile.
use id_hex;
use *;
// ── branch name ──────────────────────────────────────────────────────────
pub const FILES_BRANCH_NAME: &str = "files";
// ── kinds ────────────────────────────────────────────────────────────────
pub const KIND_FILE: Id = id_hex!;
pub const KIND_DIRECTORY: Id = id_hex!;
pub const KIND_IMPORT: Id = id_hex!;
// ── attributes ───────────────────────────────────────────────────────────