prime8dev

prime8dev
git clone https://git.prime8.dev/prime8dev.git
Log | Files | Refs | README | LICENSE

vfs.go (473B)


      1 package tui
      2 
      3 import "git.prime8.dev/moncheeta/prime8dev/internal/vfs"
      4 
      5 // The shell on the about page runs against the shared read-only virtual fs
      6 // (internal/vfs), the same one the web shell gets from /api/fs.
      7 
      8 func (m portfolioModel) vfsSource() vfs.Source {
      9 	return vfs.Source{
     10 		User:       m.shell.user,
     11 		About:      m.about,
     12 		CurrentJob: m.currentJob,
     13 		Experience: m.experience,
     14 		Projects:   m.projects,
     15 		Readmes:    m.projectReadmes,
     16 		Now:        m.now,
     17 	}
     18 }