> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ansys::Project::StorageFilesystem Class Reference

Class for [Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md) on standard filesystem, for [file://](file://) [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md).

`#include "StorageFilesystem.hpp"`

Inheritance diagram for ansys::Project::StorageFilesystem:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage_filesystem.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=6df08a620c5a6d3a2b0296cc43862bdc)

## Public Member Functions

| Type | Name |
| - | - |
| | [StorageFilesystem](#aef85785d0bc52cf31f48164a6ec9098a) () Constructor. |
| virtual | [\~StorageFilesystem](#a76412fa4d48e205706a1431f1cf85996) () Destructor. |
| [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [createFolder](#a123e1a2a831423afe21b4332e6ce0236) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pParentPath, const [Path](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_path.md) \&pFolderPath) See [Storage::createFolder()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a5425696f2817236f5886b54dc3cd1ac9) |
| virtual bool | [isFolder](#aeae85eee1f1895be16cc074c2f210be4) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pPath) See [Storage::isFolder()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a5809221b3618eb84e4eebaf0357af195) |
| virtual bool | [isFile](#a1c20950181bd70ba4cc45e539288e09f) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pPath) See [Storage::isFile()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a8b8642b9831aa539f231897e48cf3298) |
| virtual [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [copyFile](#a384d3752e0537b2f74d684bf890f1e67) (const std::string \&pSource, const std::string \&pTarget) See [Storage::copyFile()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#ad95b9bf3b4c5dba9ab6768f70d1ebbc5) |
| virtual [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [eraseFile](#ab42176b62556669397ba33e1a5238a12) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pFile) See [Storage::eraseFile()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#ab2f8205ecdd044f7718cea9881c94dfc) |
| virtual [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [eraseFolder](#aece46fb1eab83d340f92bfeaff6b9569) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pFile, [EraseOptions](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a7a0ea834ae0902dfa37762ef350e727f) pRecursive) See [Storage::eraseFolder()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#ae3c62e8ea9637b802eebe488e4a62fe4) |
| virtual [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [moveFile](#afbb37c05fcf05d79db86bfb4b3cba4ec) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pSource, const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pTarget) See [Storage::moveFile()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a1eb6dbf782620c41e87dda556d3989b8) |
| virtual [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [matchFiles](#a577705e0cfe27c0f9b58ec0f95c280dd) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pPath, std::string pWildcard, std::vector\< [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) > \&pMatchFiles) See [Storage::matchFiles()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a6069a427195a8247e9f78803d4ff520f) |
| virtual std::string | [getFileCompressionSuffix](#a1be30dbb6aac0f0a9f66df7313608810) () const Returns the required file suffix for compressFile API. |
| virtual [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [compressFiles](#a330746e96245fb171a6508fb7bb52ac5) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pRootFolder, std::vector\< [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) > \&pSourceFiles, const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pTargetArchive) See Storage::compressFile() |
| virtual [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [extractFile](#ad9efc72d9decce9ba776d778f6d09e1c) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pArchive, const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pTargetLocation) See [Storage::extractFile()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#abe1ec2924e9c518adc1a9207a65f5dd0) |
| virtual [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [getFileTimestamp](#acf398f76d7b193aaf9dac8e636d3ffb9) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pFile, int \&pTime) See Storage::getFileTimeStamp() |
| virtual [Error](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_error.md) | [getFileChecksum](#a039595fe58e424d1d2fa26b65c61bc89) (const [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) \&pFile, std::string \&pChecksum) See [Storage::getFileChecksum()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a0ad50007b1ad077038e823eb3bb21b7d) |

> [accordion] Public Member Functions inherited from ansys::Project::Storage
>
> Public Member Functions inherited from [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md)
>
> | Type | Name |
> | - | - |
> | | [Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a2374cab30c3fe446708866f0c24351cc) (const std::string \&pTypename) Constructor. |
> | virtual | [\~Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a0a620fa8087cbd638207d4cab5c541bd) () Destructor. |

## Additional Inherited Members

> [accordion] Public Types inherited from ansys::Project::Storage
>
> Public Types inherited from [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md)
>
> | Type | Name |
> | - | - |
> | enum | [EraseOptions](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a7a0ea834ae0902dfa37762ef350e727f) \{ [EraseFolderOnly](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a7a0ea834ae0902dfa37762ef350e727fa0a93151649911c33b4432bdeafc4f9aa) , [EraseFolderAndFiles](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a7a0ea834ae0902dfa37762ef350e727fabe6d6df4e50d365a3d6c3e0d3d36ef4c) , [EraseRecursively](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a7a0ea834ae0902dfa37762ef350e727fabf7a9bc30546a00063f135d272445fd7) } |

> [accordion] Static Public Member Functions inherited from ansys::Project::Storage
>
> Static Public Member Functions inherited from [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md)
>
> | Type | Name |
> | - | - |
> | static void | [registerInterface](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a3f9f604fc9b1d14b05acd8ee3ff7b98e) (const std::string \&pType, [Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md) \*pInterface) Register a [Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md) object to work with a specific [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) type. |
> | static [Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md) \* | [getInterface](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#abdef10f9ae138161ef673d5cc516f83b) (const std::string \&pType) Retrieve the [Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md) object to use with a specific [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md) type. |

## Detailed Description

Class for [Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md) on standard filesystem, for [file://](file://) [URL](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_u_r_l.md).

See [Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md)

## Constructor & Destructor Documentation

### StorageFilesystem()

```cpp theme={null}
ansys::Project::StorageFilesystem::StorageFilesystem()
```

Constructor.

### \~StorageFilesystem()

```cpp theme={null}
ansys::Project::StorageFilesystem::~StorageFilesystem()
```

`virtual`

Destructor.

## Member Function Documentation

### compressFiles()

```cpp theme={null}
Error ansys::Project::StorageFilesystem::compressFiles(
    const URL & pRootFolder,
    std::vector< URL > & pSourceFiles,
    const URL & pTargetArchive
)
```

`virtual`

See Storage::compressFile()

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a4c42b21f9f607bbff1940ad3dbbcf6d9).

### copyFile()

```cpp theme={null}
Error ansys::Project::StorageFilesystem::copyFile(
    const std::string & pSource,
    const std::string & pTarget
)
```

`virtual`

See [Storage::copyFile()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#ad95b9bf3b4c5dba9ab6768f70d1ebbc5)

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#ad95b9bf3b4c5dba9ab6768f70d1ebbc5).

### createFolder()

```cpp theme={null}
Error ansys::Project::StorageFilesystem::createFolder(
    const URL & pParentPath,
    const Path & pFolderPath
)
```

`virtual`

See [Storage::createFolder()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a5425696f2817236f5886b54dc3cd1ac9)

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a5425696f2817236f5886b54dc3cd1ac9).

### eraseFile()

```cpp theme={null}
Error ansys::Project::StorageFilesystem::eraseFile(const URL & pFile)
```

`virtual`

See [Storage::eraseFile()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#ab2f8205ecdd044f7718cea9881c94dfc)

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#ab2f8205ecdd044f7718cea9881c94dfc).

### eraseFolder()

```cpp theme={null}
Error ansys::Project::StorageFilesystem::eraseFolder(
    const URL & pFile,
    Storage::EraseOptions pFlagRecursive
)
```

`virtual`

See [Storage::eraseFolder()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#ae3c62e8ea9637b802eebe488e4a62fe4)

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#ae3c62e8ea9637b802eebe488e4a62fe4).

### extractFile()

```cpp theme={null}
Error ansys::Project::StorageFilesystem::extractFile(
    const URL & pArchive,
    const URL & pTargetLocation
)
```

`virtual`

See [Storage::extractFile()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#abe1ec2924e9c518adc1a9207a65f5dd0)

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#abe1ec2924e9c518adc1a9207a65f5dd0).

### getFileChecksum()

```cpp theme={null}
Error ansys::Project::StorageFilesystem::getFileChecksum(
    const URL & pFile,
    std::string & pChecksum
)
```

`virtual`

See [Storage::getFileChecksum()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a0ad50007b1ad077038e823eb3bb21b7d)

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a0ad50007b1ad077038e823eb3bb21b7d).

### getFileCompressionSuffix()

```cpp theme={null}
std::string ansys::Project::StorageFilesystem::getFileCompressionSuffix() const
```

`virtual`

Returns the required file suffix for compressFile API.

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#affb5603e8c05d4fb8b24c9d8547ef356).

### getFileTimestamp()

```cpp theme={null}
Error ansys::Project::StorageFilesystem::getFileTimestamp(
    const URL & pFile,
    int & pTime
)
```

`virtual`

See Storage::getFileTimeStamp()

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#ad6d0085c5c82a3e811ebeab6a6aeede8).

### isFile()

```cpp theme={null}
bool ansys::Project::StorageFilesystem::isFile(const URL & pPath)
```

`virtual`

See [Storage::isFile()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a8b8642b9831aa539f231897e48cf3298)

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a8b8642b9831aa539f231897e48cf3298).

### isFolder()

```cpp theme={null}
bool ansys::Project::StorageFilesystem::isFolder(const URL & pPath)
```

`virtual`

See [Storage::isFolder()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a5809221b3618eb84e4eebaf0357af195)

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a5809221b3618eb84e4eebaf0357af195).

### matchFiles()

```cpp theme={null}
Error ansys::Project::StorageFilesystem::matchFiles(
    const URL & pPath,
    std::string pWildcard,
    std::vector< URL > & pMatchFiles
)
```

`virtual`

See [Storage::matchFiles()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a6069a427195a8247e9f78803d4ff520f)

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a6069a427195a8247e9f78803d4ff520f).

### moveFile()

```cpp theme={null}
Error ansys::Project::StorageFilesystem::moveFile(
    const URL & pSource,
    const URL & pTarget
)
```

`virtual`

See [Storage::moveFile()](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a1eb6dbf782620c41e87dda556d3989b8)

Implements [ansys::Project::Storage](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_storage.md#a1eb6dbf782620c41e87dda556d3989b8).
