liboxen 0.56.0

Oxen is a fast data version control system, built with machine learning training data in mind. Designed to handle terabytes of data with ease, using a workflow similar to git. Version both structured and unstructured data of any modality: text, images, video, audio, CSV, Parquet, JSONL, model checkpoints, and more. liboxen is the embeddable core library behind the oxen CLI and server, which power fine tuning and inference pipelines for multimodal LLMs, image models, and video models on Oxen.ai.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Request payload for transferring a repository to another namespace.
//!
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;

/// The namespace a repository is being transferred into.
#[derive(Deserialize, Serialize, Debug, Clone, ToSchema)]
pub struct TransferNamespaceRequest {
    /// The destination namespace, as addressed on disk. A UUID where a control plane owns
    /// namespaces, and the namespace's name where the server owns its own.
    pub namespace: String,
    /// What the destination namespace is called, where `namespace` addresses it by UUID instead.
    /// Recorded as the repository's namespace hint, and refused when it is not a valid namespace
    /// name. A server that owns its own namespaces takes the name from the `namespace` position and
    /// ignores this.
    #[serde(default)]
    pub namespace_name: Option<String>,
}