Comments (2)
Out of curiosity, is it a standard way to deal with links in Swift?
from svfs.
As for now, there's no standard in Swift to handle symlinks.
AFAIK there is a spec being reviewed that claims to bring full symlink support. It proposes handling symlinks as 0 byte objects containing a X-Object-Symlink-Target-Object
header and ensure operation consistency between symlinks and referenced objects.
In the meantime, one could use Swift manifests, but they aren't true symlinks : operations on a manifest don't work the same way than they would do on referenced object. For instance, let's say you created an object which is a directory. If you create a manifest referencing this object and send a GET
request on this one, then you will not get the list of objects in this directory as a result, but the content of all files that are inside, because manifests reassemble referenced objects. An other problem lays in object metadata that should be copied to the manifest with obviously the requirement to synchronize these when they change. Such an implementation would be unsuitable I believe since coming up with usage quirks outside svfs
.
We take the choice here to make symlinks unusable outside svfs
, since that's what they truly are.
from svfs.
Related Issues (20)
- Unable to create a .tar archive bigger than 256MB HOT 8
- Suggestion: docker volume plugin HOT 1
- SVFS open flags
- gpg says iobuf_write failed HOT 1
- installation on ubuntu 10.04 won't work HOT 2
- As vmail?
- Windows server 2012 R2 samba copied files 0kb in size HOT 2
- File ownership in rpm
- Cannot mount a pcs container and a Hubic account on the same host (Linux) HOT 1
- svfs & borg
- unable to rsync
- svfs encryption: what happened exactly? HOT 1
- May I ask if I can control dangerous instructions? HOT 1
- Is svfs still supported by OVH ? HOT 6
- installation svfs-0.9.1-1.x86_64 HOT 1
- not synchronize in any way
- Inodes disk are always full
- OVH: Deletion of endpoints for Object Storage and Cloud Archive HOT 2
- Keystone API v2 deprecated, v3 doesn't work HOT 3
- Lookup error=ENOENT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svfs.