API Reference > ZipUtils Namespace > Functions > ZipUtils::formatDir Function
ZipUtils::formatDir Function
Syntax
C++
OdString formatDir(const OdString & dir);

ZipUtils.h

Parameters 
Description 
const OdString & dir 
[in] A string containing path to directory.  

Returns string containing formatted path.

Formats path to directory to conform current platform.

The function ensures that there is separator on the end of the path.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.