Remove some duplicate code
This commit is contained in:
		
							parent
							
								
									c08c802bf3
								
							
						
					
					
						commit
						3f8576a6ab
					
				
					 4 changed files with 22 additions and 21 deletions
				
			
		|  | @ -77,6 +77,8 @@ typedef vector<DirEntry> DirEntries; | |||
| 
 | ||||
| DirEntries readDirectory(const Path & path); | ||||
| 
 | ||||
| unsigned char getFileType(const Path & path); | ||||
| 
 | ||||
| /* Read the contents of a file into a string. */ | ||||
| string readFile(int fd); | ||||
| string readFile(const Path & path, bool drain = false); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue