oxen-server 0.48.1

Oxen is a fast, unstructured data version control, to help version large machine learning datasets written in Rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
use actix_web::Scope;
use actix_web::web;

use crate::controllers;

pub fn fsck() -> Scope {
    web::scope("/fsck")
        .route("/clean", web::post().to(controllers::fsck::clean))
        .route(
            "/rebuild-dir-hashes",
            web::post().to(controllers::fsck::rebuild_dir_hashes),
        )
}