-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reviewed By: RajivTS, clara-9 Differential Revision: D68833614 fbshipit-source-id: cdcefdfdaaad11351d23f376a732b4b5c40f6f34
- Loading branch information
1 parent
64a3817
commit 400b59b
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,8 @@ | |
*/ | ||
|
||
pub mod content_type; | ||
#[cfg(fbcode_build)] | ||
mod facebook; | ||
pub mod ods; | ||
#[cfg(not(fbcode_build))] | ||
mod oss; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
eden/mononoke/git_server/src/middleware/response/oss/mod.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This software may be used and distributed according to the terms of the | ||
* GNU General Public License version 2. | ||
*/ | ||
|
||
use gotham_ext::middleware::post_request::PostResponseInfo; | ||
use hyper::StatusCode; | ||
|
||
pub fn log_ods3( | ||
_info: &PostResponseInfo, | ||
_status: &StatusCode, | ||
_method: String, | ||
_repo: String, | ||
_request_load: Option<f64>, | ||
) { | ||
} |