1.26 kiriwrite_compile_clean_helper

kiriwrite_compile_clean_helper is a helper subroutine for the kiriwrite_compile_clean subroutine which is called recursively.

kiriwrite_compile_clean_helper returns a value if a file in the directory being cleaned and has invalid permissions set.

Parameters:

kiriwrite_compile_clean_helper(directory, keepdirectory, permissions);

Usage:

kiriwrite_compile_clean_helper("directory", 1);
$permissions = kiriwrite_compile_clean_helper("directory", 1);
kiriwrite_compile_clean_helper("directory", 1, 1);

directory
Specifies the directory which should be cleaned.

keepdirectory
Keeps the parent directory.

permissions
Checks if the permissions on all the files processed are valid before deleting and returns a value if they aren't.