MCPcopy Create free account
hub / github.com/Rustixir/darkbird / new

Method new

src/darkbird.rs:106–120  ·  view source on GitHub ↗
(
        path: &'a str,
        storage_name: &'a str,
        total_page_size: usize,
        stype: StorageType,
        off_reporter: bool,
    )

Source from the content-addressed store, hash-verified

104
105impl<'a> Options<'a> {
106 pub fn new(
107 path: &'a str,
108 storage_name: &'a str,
109 total_page_size: usize,
110 stype: StorageType,
111 off_reporter: bool,
112 ) -> Self {
113 Options {
114 path,
115 storage_name,
116 total_page_size,
117 stype,
118 off_reporter,
119 }
120 }
121}
122
123impl<'a> Into<Config> for Options<'a> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected