|
|
@ -14,7 +14,7 @@ pub struct Apps {
|
|
|
|
|
|
|
|
|
|
|
|
impl Apps {
|
|
|
|
impl Apps {
|
|
|
|
pub fn load(p: PathBuf) -> Result<Self> {
|
|
|
|
pub fn load(p: PathBuf) -> Result<Self> {
|
|
|
|
let path: String = String::from(p.display().to_string());
|
|
|
|
let path: String = p.display().to_string();
|
|
|
|
match File::open(p) {
|
|
|
|
match File::open(p) {
|
|
|
|
Ok(mut file) => {
|
|
|
|
Ok(mut file) => {
|
|
|
|
let mut buf = String::new();
|
|
|
|
let mut buf = String::new();
|
|
|
|