Module Bushel_eio.Bushel_loader

Eio-based directory scanner and file loader for Bushel entries

val src : Logs.src
module Log : Logs.LOG
val load_images : [> Eio.Fs.dir_ty ] Eio.Path.t -> output_dir:string -> Srcsetter.t list

Load images from srcsetter index.json

val list_md_files : [> Eio.Fs.dir_ty ] Eio.Path.t -> string -> string list

List markdown files in a directory

val map_category : [> Eio.Fs.dir_ty ] Eio.Path.t -> string -> string -> (Frontmatter.t -> ('a, string) result) -> 'a list

Load and map files from a directory

val load_contacts : Eio.Fs.dir_ty Eio.Path.t -> 'a -> Sortal.Store.Contact.t list

Load contacts from Sortal XDG store

val load_projects : [> Eio.Fs.dir_ty ] Eio.Path.t -> string -> Bushel.Project.t list

Load projects from projects/

val load_notes : [> Eio.Fs.dir_ty ] Eio.Path.t -> string -> Bushel.Note.t list

Load notes from notes/ and news/

val load_ideas : [> Eio.Fs.dir_ty ] Eio.Path.t -> string -> Bushel.Idea.t list

Load ideas from ideas/

val load_videos : [> Eio.Fs.dir_ty ] Eio.Path.t -> string -> Bushel.Video.t list

Load videos from videos/

val load_papers : [> Eio.Fs.dir_ty ] Eio.Path.t -> string -> Bushel.Paper.t list

Load papers from papers/ (nested directory structure)

val load : ?image_output_dir:string -> Eio.Fs.dir_ty Eio.Path.t -> string -> Bushel.Entry.t

Load all entries from a base directory

Build link graph from entries