forked from dlang/cdcdb
		
	Обновлен CAS, добавлены проверки
This commit is contained in:
		
							parent
							
								
									9c5d812a49
								
							
						
					
					
						commit
						b29b328f91
					
				
					 4 changed files with 161 additions and 117 deletions
				
			
		| 
						 | 
				
			
			@ -7,6 +7,5 @@ import std.file : read;
 | 
			
		|||
void main()
 | 
			
		||||
{
 | 
			
		||||
	auto cas = new CAS("/tmp/base.db", true);
 | 
			
		||||
	cas.saveSnapshot("/tmp/text", cast(ubyte[]) read("/tmp/text"));
 | 
			
		||||
	// cas.restoreSnapshot();
 | 
			
		||||
	cas.newSnapshot("/tmp/text", "Файл для тестирования", cast(ubyte[]) read("/tmp/text"));
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue