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
43
44
45
46
47
48
use braid;
/// *ChRIS* user's username.
;
/// Download URL for a file resource.
///
/// # Examples
///
/// - `https://cube.chrisproject.org/api/v1/files/84360/aparc.a2009s+aseg.mgz`
;
/// File fname.
;
/// Plugin name
;
/// Plugin version
;
/// Container image name of a plugin
;
/// Public source code repository of a plugin
;
/// Compute resource name
;
/// A path which can be browsed by the file browser API, e.g. `chris/uploads`
;
// TODO why do I need to convert from FileBrowserPath to FileResourceFname?
// impl From<FileBrowserPath> for FileResourceFname {
// fn from(p: FileBrowserPath) -> Self {
// FileResourceFname::new(p.take())
// }
// }