filetreelist 0.6.0

filetree abstraction based on a sorted path list, supports key based navigation events, folding, scrolling and more
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::{num::TryFromIntError, path::PathBuf};
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
	#[error("InvalidPath: `{0}`")]
	InvalidPath(PathBuf),

	#[error("TryFromInt error:{0}")]
	IntConversion(#[from] TryFromIntError),
}

pub type Result<T> = std::result::Result<T, Error>;