Commit 89084f23 authored by Murray Cumming's avatar Murray Cumming
Browse files

file_utils: Make a function not part of the API.

parent d136618e
......@@ -128,7 +128,7 @@ bool delete_file(const std::string& uri)
/** For instance, to find the first file in the directory with a .glom extension.
*/
Glib::ustring get_directory_child_with_suffix(const Glib::ustring& uri_directory, const std::string& suffix, bool recursive)
static Glib::ustring get_directory_child_with_suffix(const Glib::ustring& uri_directory, const std::string& suffix, bool recursive)
{
auto directory = Gio::File::create_for_uri(uri_directory);
auto enumerator = directory->enumerate_children();
......
......@@ -53,10 +53,6 @@ bool delete_directory(const std::string& uri);
*/
bool delete_file(const std::string& uri);
/** For instance, to find the first file in the directory with a .glom extension.
*/
Glib::ustring get_directory_child_with_suffix(const Glib::ustring& uri_directory, const std::string& suffix, bool recursive);
/** Get a URI with the extension (any extension, not just .glom) removed.
*/
Glib::ustring get_file_uri_without_extension(const Glib::ustring& uri);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment