Files
herolib/lib/vfs/vfs_calendar/vfs_calendar.v
2025-10-12 12:30:19 +03:00

19 lines
522 B
V

module vfs_calendar
import incubaid.herolib.vfs
import incubaid.herolib.circles.mcc.db as core
// CalendarVFS represents the virtual file system for calendar data
// It provides a read-only view of calendar data organized by calendars
pub struct CalendarVFS {
pub mut:
calendar_db &core.CalendarDB // Reference to the calendar database
}
// new_calendar_vfs creates a new contacts VFS
pub fn new_calendar_vfs(calendar_db &core.CalendarDB) !vfs.VFSImplementation {
return &CalendarVFS{
calendar_db: calendar_db
}
}