mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-24 00:04:47 +02:00
fixup! refactor(intel-dcap-api): split client.rs into smaller files
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
4501b3421c
commit
1a392e800a
8 changed files with 24 additions and 23 deletions
|
@ -1,6 +1,8 @@
|
|||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright (c) 2025 Matter Labs
|
||||
|
||||
//! Internal helper methods
|
||||
|
||||
use super::ApiClient; // Import from parent module
|
||||
use crate::{
|
||||
error::{check_status, extract_api_error_details, IntelApiError},
|
||||
|
@ -12,10 +14,6 @@ use reqwest::{RequestBuilder, Response, StatusCode};
|
|||
use std::io;
|
||||
|
||||
impl ApiClient {
|
||||
// ------------------------
|
||||
// Internal helper methods
|
||||
// ------------------------
|
||||
|
||||
/// Helper to construct API paths dynamically based on version and technology (SGX/TDX).
|
||||
pub(super) fn build_api_path(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue