make_children


Description:

public async Folder? make_children (string file_path) throws Error

Creates child folders recursively until reaching the target file path.

Starting from this folder, creates any missing intermediate folders needed to reach the parent directory of the target file path. Returns the final folder (the parent directory of the file).

Parameters:

file_path

The target file path

Returns:

The Folder object for the parent directory of the file, or null on error