A distributed Filesystem. This has properties that are different from a normal filesystem.
For example, in a distributed filesystem we want to be able to build caching into the filesystem. When we ask for a file, we also want to be able to say 'Please don't actually send me the contents of the file if I have the most recent, up-to-date version'
A distributed Filesystem. This has properties that are different from a normal filesystem. For example, in a distributed filesystem we want to be able to build caching into the filesystem. When we ask for a file, we also want to be able to say 'Please don't actually send me the contents of the file if I have the most recent, up-to-date version'
(get-file _ path options)
Retrieve a single file
Retrieve a single file
(ls _ path options)
Like the unix ls
command. Returns a collection of metadata from a path, without the contents
Like the unix `ls` command. Returns a collection of metadata from a path, without the contents
(put-file _ path input-stream metadata)
Put a file
Put a file
There is an asymmetry in a distributed filesystem - when we try to get a resource, we don't always want the full resource back because it would take longer to send over the wire.
So we may have multiple ways to represent a resource - we can represent the raw resource, or we can say 'You already have the most recent version, use your copy'
There is an asymmetry in a distributed filesystem - when we try to get a resource, we don't always want the full resource back because it would take longer to send over the wire. So we may have multiple ways to represent a resource - we can represent the raw resource, or we can say 'You already have the most recent version, use your copy'
(object x)
An object in the distributed Filesystem. All objects must have a version
An object in the distributed Filesystem. All objects must have a version
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close