forked from dlang/cdcdb
		
	init
This commit is contained in:
		
						commit
						dc0c8349c7
					
				
					 18 changed files with 666 additions and 0 deletions
				
			
		
							
								
								
									
										11
									
								
								test/app.d
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								test/app.d
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
import std.stdio;
 | 
			
		||||
 | 
			
		||||
import cdcdb;
 | 
			
		||||
 | 
			
		||||
import std.file : read;
 | 
			
		||||
 | 
			
		||||
void main()
 | 
			
		||||
{
 | 
			
		||||
	auto cas = new CAS("/tmp/base.db");
 | 
			
		||||
	cas.saveSnapshot(cast(ubyte[]) read("/tmp/text"));
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue