FcDirSave(3)

πŸŽ€ NAME πŸŽ€

okay so this page is FcDirSave(3), and the name says it's DEPRECATED: formerly used to save a directory cache. She's retired, bestie β€” but we still stan the lore. πŸ’…

✨ SYNOPSIS ✨

here's the exact shape of it:

#include <fontconfig/fontconfig.h>

FcBool FcDirSave (FcFontSet *set, FcStrSet *dirs, const FcChar8 *dir);

🌈 DESCRIPTION 🌈

So here's the tea: FcDirSave now does literally nothing aside from returning FcFalse. That's it. That's the whole function. πŸ’€

Back in the day, it used to create the per-directory cache file for dir and populate it with the fonts in set and the subdirectories in dirs. Iconic behavior, honestly. πŸŽ€

But that whole job is now automatically managed by FcDirCacheLoad and FcDirCacheRead, so nobody has to hand-hold the cache situation anymore. slay for automation. ✨

Heads up, bestie: this function is marked DEPRECATED, and it returns FcFalse. Don't expect it to save anything for you. 🫢

xoxo, your manual-page bestie πŸ’– β€” this page is from Fontconfig 2.17.0, dated 27 June 2025. periodt. πŸ‘‘

πŸ“¦ where this page comes from