<commit_before>#define EFL_BETA_API_SUPPORT
#include <Eo.h>
#include <Ecore.h>
#include <Eio.h>

#include "efm_priv.h"

typedef struct
{
   const char *directory; //< The directory this monitor listens to
   Eio_Monitor *mon; //< The eio monitor which is started in the directory
   Eio_File *file; //< The eio file as long as the ls is running

   Eina_Hash *file_icons; // < Hash table of all listed FM_Monitor_Files

   struct {
      Eina_Bool only_folder;
      Eina_Bool hidden_files;
   } config;
} Efm_Monitor_Data;

typedef struct {
  Eo *monitor;
} Efm_Monitor_Eio_Job;

#define MARK_POPULATED eo_key_data_set("__populated", NULL, NULL);
#define UNMARK_POPULATED eo_key_data_del("__populated");

static void
_add(Efm_Monitor *mon, const char *file)
{
   const char *path;
   const char *filename;
   Efm_File *ef;
   Efm_Monitor_Data *pd;
   Eina_Bool result;
   Eina_Bool dir;
   path = eina_stringshare_add(file);

   ef = eo_add(EFM_FILE_CLASS, mon, result = efm_file_obj_generate(path));

   if (!ef)
     return;<commit_msg>efm: unbreak eo_key_data_set api change<commit_after>#define EFL_BETA_API_SUPPORT
#include <Eo.h>
#include <Ecore.h>
#include <Eio.h>

#include "efm_priv.h"

typedef struct
{
   const char *directory; //< The directory this monitor listens to
   Eio_Monitor *mon; //< The eio monitor which is started in the directory
   Eio_File *file; //< The eio file as long as the ls is running

   Eina_Hash *file_icons; // < Hash table of all listed FM_Monitor_Files

   struct {
      Eina_Bool only_folder;
      Eina_Bool hidden_files;
   } config;
} Efm_Monitor_Data;

typedef struct {
  Eo *monitor;
} Efm_Monitor_Eio_Job;

#define MARK_POPULATED eo_key_data_set("__populated", NULL);
#define UNMARK_POPULATED eo_key_data_del("__populated");

static void
_add(Efm_Monitor *mon, const char *file)
{
   const char *path;
   const char *filename;
   Efm_File *ef;
   Efm_Monitor_Data *pd;
   Eina_Bool result;
   Eina_Bool dir;
   path = eina_stringshare_add(file);

   ef = eo_add(EFM_FILE_CLASS, mon, result = efm_file_obj_generate(path));

   if (!ef)
     return;
{'fraction_non_alphanumeric': 0.09532888465204957, 'fraction_numerical': 0.0, 'mean_word_length': 4.144607843137255, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5738408', 'n_tokens_mistral': 807, 'n_tokens_neox': 785, 'n_words': 208}