mirror of
				https://github.com/derrod/legendary.git
				synced 2025-11-04 10:24:49 +00:00 
			
		
		
		
	[models] return chunk/manifest bytes written
This commit is contained in:
		
							parent
							
								
									2945c6c91f
								
							
						
					
					
						commit
						b0f5ea15a3
					
				| 
						 | 
				
			
			@ -147,3 +147,5 @@ class Chunk:
 | 
			
		|||
 | 
			
		||||
        if not fp:
 | 
			
		||||
            return bio.getvalue()
 | 
			
		||||
        else:
 | 
			
		||||
            return bio.tell()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -168,6 +168,8 @@ class Manifest:
 | 
			
		|||
 | 
			
		||||
        if not fp:
 | 
			
		||||
            return bio.getvalue()
 | 
			
		||||
        else:
 | 
			
		||||
            return bio.tell()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class ManifestMeta:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue