The file system to use in various calls where an explicit file system is
optional, e.g., pathological.paths/path
,
pathological.path-matchers/path-matcher
,
pathological.principals/->user-principal
and
pathological.principals/->group-principal
By default, the default-file-system
is used. However this var is dynamic
and can be altered / rebound to any file system instance.
The file system to use in various calls where an explicit file system is optional, e.g., [[pathological.paths/path]], [[pathological.path-matchers/path-matcher]], [[pathological.principals/->user-principal]] and [[pathological.principals/->group-principal]] By default, the [[default-file-system]] is used. However this var is dynamic and can be altered / rebound to any file system instance.
(close file-system)
Closes the file system.
See the Java documentation for more details.
Closes the file system. See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#close%28%29) for more details.
(default-file-system)
Returns the default file system for the JVM.
See the Java documentation for more details.
Returns the default file system for the JVM. See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystems.html#getDefault%28%29) for more details.
(file-stores file-system)
Returns the collection of file stores associated with the file system.
The file stores are returned as materialised records as specified in
pathological.file-stores/->file-store
.
See the Java documentation for more details.
Returns the collection of file stores associated with the file system. The file stores are returned as materialised records as specified in [[pathological.file-stores/->file-store]]. See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#getFileStores%28%29) for more details.
(open? file-system)
Returns true if the file system is open, false otherwise.
See the Java documentation for more details.
Returns true if the file system is open, false otherwise. See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#isOpen%28%29) for more details.
(provider file-system)
Returns the provider for the file system.
See the Java documentation for more details.
Returns the provider for the file system. See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#provider%28%29) for more details.
(read-only? file-system)
Returns true if the file system is read only, false otherwise.
See the Java documentation for more details.
Returns true if the file system is read only, false otherwise. See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#isReadOnly%28%29) for more details.
(root-directories file-system)
Returns a set of paths representing the root directories of the file system.
See the Java documentation for more details.
Returns a set of paths representing the root directories of the file system. See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#getRootDirectories%28%29) for more details.
(separator file-system)
Returns the name separator used by the file system.
See the Java documentation for more details.
Returns the name separator used by the file system. See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#getSeparator%28%29) for more details.
(supported-file-attribute-views file-system)
Returns a set of keywords representing the supported file attribute views for the file system.
See the Java documentation for more details.
Returns a set of keywords representing the supported file attribute views for the file system. See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#supportedFileAttributeViews%28%29) for more details.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close