doc_dir
doc_dir(doc)
This function returns the directory of the document specified by the doc parameter. If the optional doc parameter is omitted, the current document is assumed.
The
doc_dir function can retrieve the document path to a cloned document using the document identifier returned by the
doc_clone function.