feat: added command functionality to install
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				/ check (push) Successful in 39s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	/ check (push) Successful in 39s
				
			This commit is contained in:
		
							parent
							
								
									1a95046b87
								
							
						
					
					
						commit
						d9d4728dd6
					
				
					 20 changed files with 464 additions and 76 deletions
				
			
		|  | @ -1,8 +1,24 @@ | |||
| #[derive(Debug)] | ||||
| pub struct PKGFile { | ||||
|     pub manifest: String, | ||||
|     pub data: Vec<u8>, | ||||
| } | ||||
| 
 | ||||
| impl PKGFile { | ||||
|     pub fn new(manifest: String, data: Vec<u8>) -> PKGFile { | ||||
|         PKGFile { manifest, data } | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| impl Default for PKGFile { | ||||
|     fn default() -> PKGFile { | ||||
|         PKGFile { | ||||
|             manifest: String::new(), | ||||
|             data: Vec::new(), | ||||
|         } | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| impl TryFrom<Vec<u8>> for PKGFile { | ||||
|     type Error = (); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue