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
42
//! Where a [`FileEntry`](crate::file::FileEntry) was discovered.
use fmt;
use Cow;
/// Where a discovered entry came from.
///
/// Built-in variants cover the sources `wintheon` ships out of the box.
/// User-defined [`Source`](super::Source) implementations should return
/// [`Origin::Custom`] with a human-readable label.
///
/// Marked `#[non_exhaustive]` so adding more built-in variants in a
/// future release isn't a breaking change.