fix: remove extra spacing between proc-macro invocation and recipient declaration

This commit is contained in:
lily 2025-03-29 15:28:49 -04:00
parent c5646caa32
commit d3942a512c
Signed by: lily
GPG key ID: 601F3263FBCBC4B9

View file

@ -1,50 +1,50 @@
use std::{boxed::Box, fs, io::Seek, path, vec}; use std::{boxed::Box, fs, io::Seek, path, vec};
use walkdir::WalkDir; use walkdir::WalkDir;
#[derive(Debug)]
#[derive(Debug)]
pub struct KosmoraVfs { pub struct KosmoraVfs {
index: KosmoraIndex, index: KosmoraIndex,
packages: Vec<KosmoraPackage>, packages: Vec<KosmoraPackage>,
} }
#[derive(Debug)]
#[derive(Debug)]
struct KosmoraIndex { struct KosmoraIndex {
index: Vec<KosmoraPackage>, index: Vec<KosmoraPackage>,
} }
#[derive(Debug)]
#[derive(Debug)]
struct KosmoraPackage { struct KosmoraPackage {
id: usize, id: usize,
inode_index: KosmoraDirectory, inode_index: KosmoraDirectory,
} }
#[derive(Debug)]
#[derive(Debug)]
pub enum KosmoraINodeType { pub enum KosmoraINodeType {
File(KosmoraFile), File(KosmoraFile),
Directory(KosmoraDirectory), Directory(KosmoraDirectory),
} }
#[derive(Debug)]
#[derive(Debug)]
pub struct KosmoraFileMetadata { pub struct KosmoraFileMetadata {
name: String, name: String,
extension: Option<String>, extension: Option<String>,
size: usize, size: usize,
} }
#[derive(Debug)]
#[derive(Debug)]
pub struct KosmoraFile { pub struct KosmoraFile {
metadata: KosmoraFileMetadata, metadata: KosmoraFileMetadata,
data: Vec<u8>, data: Vec<u8>,
} }
#[derive(Debug)] #[derive(Debug)]
pub struct KosmoraDirectory { pub struct KosmoraDirectory {
name: String, name: String,
parent: Option<Box<KosmoraDirectory>>, parent: Option<Box<KosmoraDirectory>>,
children: Option<Vec<KosmoraINode>>, children: Option<Vec<KosmoraINode>>,
} }
#[derive(Debug)]
#[derive(Debug)]
pub struct KosmoraINode { pub struct KosmoraINode {
inode: KosmoraINodeType, inode: KosmoraINodeType,
} }