mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-03-10 18:46:18 -04:00
* Updated roadmap * Color timeline to show where we are up to * roadmap improvements * roadmap changes * docs init * progress on docs * support metadata (name & ordering) * fix prod build * fix lock * fix perender * docs progress * added "slots" to markdown parser * refactor to support sections * more docs progress * fixes * added empty docs * killer opening paragraph * fix Heroicon imports & page rendering * tweaks * next doc * fix build * fix ssg failure * fix prod build for REAL it was the bubbles * fix next doc api * it's the bubbles * wip: docs mobile * doc nav tweak * doc menu ui * fix next doc in pre-render * react-borger-menu * fix build * fix height and padding * mobile docs nav styles * oooh super cool transition * fix button state glitch + big headings * refactor layout * docs mobile nav bar style * fix min width & height * Merge remote-tracking branch 'refs/remotes/origin/main' Conflicts: docs/architecture/spaces.md docs/developers/architecture/spaces.md * placeholder docs * correct pre styles + env setup guide * search coming soon * docs cleanup * resolved cargo * reorder docs + add image Co-authored-by: Lu Hill <email@lewie.me> Co-authored-by: Jamie Pine <ijamespine@me.com>
43 lines
2.6 KiB
Markdown
43 lines
2.6 KiB
Markdown
---
|
|
name: Objects
|
|
index: 2
|
|
new: true
|
|
---
|
|
|
|
# Objects
|
|
|
|
Objects are files discovered on your devices and drives, but can also be virtual, existing only within Spacedrive.
|
|
|
|
All metadata associated with files in Spacedrive is linked to the Object for that file.
|
|
|
|
If two or more files are discovered that are identical, they are linked to the same Object in Spacedrive.
|
|
|
|
A CAS id is generated from set samples of the byte data, which is used to associate Objects uniquely with Paths found in a Location.
|
|
|
|
Some Objects are purely virtual, meaning they have no Path and are likely only used in a Space.
|
|
|
|
## Types of object
|
|
|
|
| Name | Description | Code |
|
|
| ---------------- | ------------------------------------------------------------ | ---- |
|
|
| Unknown | A file that can not be identified by the indexer | 0 |
|
|
| Document | A known filetype, but without specific support | 1 |
|
|
| Folder | A virtual filesystem directory | 2 |
|
|
| Text File | A file that contains human-readable text | 3 |
|
|
| Package | A folder that opens an application | 4 |
|
|
| Image | An image file | 5 |
|
|
| Audio | An audio file | 6 |
|
|
| Video | A video file | 7 |
|
|
| Archive | A compressed archive of data | 8 |
|
|
| Executable | An executable program or application | 9 |
|
|
| Alias | A link to another Object | 10 |
|
|
| Encrypted Bytes | Raw bytes with self contained metadata | 11 |
|
|
| Link | A link to a web page, application or Space | 12 |
|
|
| Web Page Archive | A snapshot of a webpage, with HTML, JS, images and screenshot | 13 |
|
|
| Widget | A widget is a mini app that can be placed in a Space at various sizes, associated Widget struct required | 14 |
|
|
| Album | Albums can only have one level of children, and are associated with the Album struct | 15 |
|
|
| Collection | Its like a folder, but appears like a stack of files, designed for burst photos/associated groups of files | 16 |
|
|
| Database | A database file | 17 |
|
|
| Mesh | A 3D mesh object | 18 |
|
|
| Textured Mesh | A 3D mesh object with textures | 19 |
|
|
| Entity | A rigged character | 20 | |