Page MenuHomePhabricator

Eina Vpath
Updated 394 Days AgoPublic

Eina_Vpath

Abstraction for using virtual paths. That means, we are resolving paths like:
(:key:)/foo/bar to something like /beer/foo/bar (under the assertion that key=/beer)

Defined Vpath-Interfaces

A vpath-interface is a set of standardized keys. Setting an interface will copy its values to the keys table.

Name of Interfaces:

(keys are not prefixed for system global locations)

    • home
    • tmp
  • app
    • app.dir
    • app.bin
    • app.lib
    • app.data
    • app.locale
    • app.config
    • app.cache
    • app.local
    • app.tmp
  • usr
    • usr.desktop
    • usr.documents
    • usr.downloads
    • usr.music
    • usr.picutres
    • usr.public
    • usr.templates
    • usr.videos
    • usr.data
    • usr.config
    • usr.cache
    • usr.run
    • usr.tmp

Future thoughts

Lets think about interfaces for file endings of compiled things. like: os.exe_suffix os.lib_suffix

Last Author
raster
Last Edited
Feb 22 2018, 11:17 PM
Projects
Subscribers
None