MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / store_path

Method store_path

mserver/MasterService/src/mods.rs:156–162  ·  view source on GitHub ↗
(&self, path: ObjectPath)

Source from the content-addressed store, hash-verified

154 .with_access_key_id(config.access_key)
155 .with_secret_access_key(config.secret_key)
156 .with_virtual_hosted_style_request(config.virtual_hosted_style)
157 .with_conditional_put(S3ConditionalPut::ETagMatch)
158 // ClientOptions replaces the builder's defaults wholesale, so allow_http must be
159 // set here too. Disable the 30s request timeout: a streamed download/upload of a
160 // large mod runs longer (bounded by the client's transfer speed), and the default
161 // would abort the GET mid-stream — clients then see a truncated "partial file".
162 .with_client_options(
163 object_store::ClientOptions::new()
164 .with_allow_http(config.allow_http)
165 .with_timeout_disabled(),

Callers 10

publish_modMethod · 0.80
put_metadataMethod · 0.80
begin_uploadMethod · 0.80
finalize_modMethod · 0.80
artifact_streamMethod · 0.80
signed_artifact_urlMethod · 0.80
artifact_bytesMethod · 0.80
delete_modMethod · 0.80
get_modMethod · 0.80
parse_metadataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected