Skip to content

File Metadata

Maingron edited this page Oct 28, 2022 · 1 revision

File metadata

First: How a file is stored

This is an example. meta is the variable for one meta data (like t=txt), content is the variable for file content. There can be many meta but only one content. Multiple meta can be seperated by ,.
Additionally, there is a filename that's not included in meta or content but is the key-name.

Example:

d=666954083,t=txt*this is some file content.
meta,meta,meta*content

File metadata

Metadata may not include any of these characters: *, ,

  • t=filetype
    • Example: t=txt
    • Well known:
      • t=d: Folder
      • t=txt: Text File
      • t=img: General image
      • t=bmp or t=img/bmp: BMP Image
      • t=png or t=img/png: PNG Image
      • t=jpg or t=img/jpg: JPG Image
      • t=svg (or t=img/svg): SVG Image (TBD)
      • t=webp or t=img/webp: WEBP Image
  • d=timestamp
    • Example: d=666954083
    • This value is processed during saving and loading to save additional storage
    • Will automatically be generated - You don't need to worry about it
  • run
    • Used by some program shortcuts. It's not advised to use this.