forked from dlang/cdcdb
		
	Сохранение снимка
This commit is contained in:
		
							parent
							
								
									18bcf3742d
								
							
						
					
					
						commit
						8631c65e39
					
				
					 7 changed files with 419 additions and 26 deletions
				
			
		| 
						 | 
				
			
			@ -6,6 +6,6 @@ import std.file : read;
 | 
			
		|||
 | 
			
		||||
void main()
 | 
			
		||||
{
 | 
			
		||||
	auto cas = new CAS("/tmp/base.db");
 | 
			
		||||
	auto cas = new CAS("/tmp/base.db", true);
 | 
			
		||||
	cas.saveSnapshot("/tmp/text", cast(ubyte[]) read("/tmp/text"));
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue