mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:52:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			454 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			454 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| #include <AK/String.h>
 | |
| 
 | |
| namespace FileUtils {
 | |
| 
 | |
| int delete_directory(String directory, String& file_that_caused_error);
 | |
| bool copy_file_or_directory(const String& src_path, const String& dst_path);
 | |
| String get_duplicate_name(const String& path, int duplicate_count);
 | |
| bool copy_file(const String& src_path, const String& dst_path, const struct stat& src_stat, int src_fd);
 | |
| bool copy_directory(const String& src_path, const String& dst_path);
 | |
| 
 | |
| }
 | 
