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

19 lines
498 B
V

module vfs_contacts
import incubaid.herolib.vfs
import incubaid.herolib.circles.mcc.db as core
// import incubaid.herolib.circles.mcc.models as mcc
// ContactsVFS represents the virtual file system for contacts
pub struct ContactsVFS {
pub mut:
contacts_db &core.ContactsDB // Reference to the contacts database
}
// new_contacts_vfs creates a new contacts VFS
pub fn new_contacts_vfs(contacts_db &core.ContactsDB) !vfs.VFSImplementation {
return &ContactsVFS{
contacts_db: contacts_db
}
}