KittyMemoryEx 1.0.0
Dedicated library for runtime code patching, memory scanning, tracing, injection and some more useful memory utilities. works for both Android and Linux
Loading...
Searching...
No Matches
KittyUtils::Path Namespace Reference

Provides utility functions for paths. More...

Functions

std::string fileName (const std::string &filePath)
 Extracts the file name from a given file path.
std::string fileDirectory (const std::string &filePath)
 Extracts the directory from a given file path.
std::string fileExtension (const std::string &filePath)
 Extracts the file extension from a given file path.

Detailed Description

Provides utility functions for paths.

Function Documentation

◆ fileDirectory()

std::string KittyUtils::Path::fileDirectory ( const std::string & filePath)

Extracts the directory from a given file path.

Parameters
filePathThe full path of the file.
Returns
The directory path.

◆ fileExtension()

std::string KittyUtils::Path::fileExtension ( const std::string & filePath)

Extracts the file extension from a given file path.

Parameters
filePathThe full path of the file.
Returns
The file extension.

◆ fileName()

std::string KittyUtils::Path::fileName ( const std::string & filePath)

Extracts the file name from a given file path.

Parameters
filePathThe full path of the file.
Returns
file name.