Packages@isp.nexus/sdkFunctionscleanDirectoryOn this pagecleanDirectory() function cleanDirectory(directoryPath): Promise<void> Cleans the given directory, creating it if it does not exist. Parameters ParameterTypedirectoryPathPathBuilderLike Returns Promise<void> Throws If the directory intersects with monorepo source code.