Liking cljdoc? Tell your friends :D

kaleidoscope.clj.persistence.filesystem


canonical-urlclj

(canonical-url url)
source

DistributedFileSystemcljprotocol

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-fileclj

(get-file _ path options)

Retrieve a single file

Retrieve a single file

lsclj

(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-fileclj

(put-file _ path input-stream metadata)

Put a file

Put a file
sourceraw docstring

does-not-exist-responseclj

source

does-not-exist?clj

(does-not-exist? x)
source

folder?clj

(folder? url)
source

getclj

(get filesystem path)
(get filesystem path options)
source

md5clj

(md5 s)
source

not-modified-responseclj

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'
sourceraw docstring

not-modified?clj

(not-modified? x)
source

objectclj

(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
sourceraw docstring

object-contentclj

(object-content fs-object)
source

object-metadataclj

(object-metadata fs-object)
source

object-versionclj

(object-version fs-object)
source

object?clj

(object? x)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close