Qore FsUtil Module Reference  1.0
FsUtil::TmpDir Class Reference

Class implementing a user friendly temporary directory creation - users don't need to care about removing it. More...

Public Member Methods

 constructor (*string prefix, *string suffix, *string path)
 Creates a unique temporary directory and returns its absolute path. More...
 

Detailed Description

Class implementing a user friendly temporary directory creation - users don't need to care about removing it.

Member Function Documentation

◆ constructor()

FsUtil::TmpDir::constructor ( *string  prefix,
*string  suffix,
*string  path 
)

Creates a unique temporary directory and returns its absolute path.

Parameters
prefixprefix to be used in the newly created directory name
suffixsuffix to be used in the newly created directory name
pathpath to a dir in which the caller wants to create the new directory; if not provided, standard temp location will be used