Fix outstanding problems with CI pipeline and codebase state #3
@ -377,11 +377,11 @@ pub const FileAccess = opaque {
 | 
			
		||||
    ///
 | 
			
		||||
    pub fn size(file_access: *FileAccess, event_loop: *EventLoop) FileError!usize {
 | 
			
		||||
        // Save cursor to return to it later.
 | 
			
		||||
        const origin_cursor = try event_loop.tellFile(file_access);
 | 
			
		||||
        const origin_cursor = try event_loop.queryFile(file_access);
 | 
			
		||||
 | 
			
		||||
        try event_loop.seekFile(file_access, .tail, 0);
 | 
			
		||||
 | 
			
		||||
        const ending_cursor = try event_loop.tellFile(file_access);
 | 
			
		||||
        const ending_cursor = try event_loop.queryFile(file_access);
 | 
			
		||||
 | 
			
		||||
        // Return to original cursor.
 | 
			
		||||
        try event_loop.seekFile(file_access, .head, origin_cursor);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user