xoDiagIfWritable

seems to only be used for license file?

Parameters
string $path

dir or file path

#
Returns
string