IO with Promises

Determining if a Directory Exists


	

Creating a Directory


	
	

Deleting a Directory


	
Recursive

Determining if a File Exists


	

Creating and Deleting Files


	
Using mode:



Chaining Directory and File Promises


	
	

Writing Text to a File


	
Text to write:



Reading a Line of Text


	
	

Reading All Text from a File


	
	
Please note that a sharing violation exception is thrown if you fail to close the file before using this API.

Writing Bytes to a File using Base64


	
Text to write as Base64:



Obtaining File Information


	

Touching a File


	

Copying a File


	

Moving a File


	

Retrieving a List of Directories


	
Parent Directory:
Pattern:
Recursive

Retrieving the Files in a Directory


	
Parent Directory:
Pattern:
Recursive

Get Known Directories