mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-31 12:00:42 +00:00
doc: check_expected_download
This commit is contained in:
@@ -599,6 +599,7 @@ impl LayerInner {
|
||||
)
|
||||
}
|
||||
|
||||
/// Nag or fail per RequestContext policy
|
||||
fn check_expected_download(&self, ctx: &RequestContext) -> Result<(), DownloadError> {
|
||||
use crate::context::DownloadBehavior::*;
|
||||
let b = ctx.download_behavior();
|
||||
|
||||
Reference in New Issue
Block a user