Skip to content

Should ofPathToString(), ofGetExtensionLower(), and FS-functions be private? #8410

@danomatika

Description

@danomatika

With of_v20250330_osx_release:

I notice ofFileUtils.h adds ofPathToString() and ofGetExtensionLower() however neither is documented and it appears both are used internally.

In ofFileUtils.cpp, bot are commented with:

// Function used internally in OF core. API can change later

Should they be private within of::priv?

UPDATE: The overview list I am wondering about is:

ofPathToString()
ofGetExtensionLower()
ofToDataPathFS()
ofGetPathForDirectoryFS(const of::filesystem::path &);
ofGetAbsolutePathFS(const of::filesystem::path &, bool);
ofFilePath::getCurrentExeDirFS();
ofFile::pathFS()
ofDirectory::getAbsolutePathFS()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions