A path which is either an absolute Path, a relative RelPath, or a ResourcePath with shared APIs and implementations.
Trivial wrapper around Array[Byte]
with sane equality and useful toString
Provides a.! b
as an alternative to the a(b)
syntax for calling a
function with one argument
Provides a! b
as an alternative to the (a(b, _)
syntax for partially
applying a function with two arguments
A staged sub-process command that has yet to be executed.
Contains the accumulated output for the invocation of a subprocess command.
Represents a value that is either an absolute Path or a relative RelPath, and can be constructed from
Simple enum with the possible filesystem objects a path can resolve to
Extends collections to give short aliases for the commonly used operations, so we can make it easy to use from the command line.
Extends collections to give short aliases for the commonly used operations, so we can make it easy to use from the command line.
Extends collections to give short aliases for the commonly used operations, so we can make it easy to use from the command line.
A specialized Seq[Path] used to provide better a better pretty-printed experience
An absolute path on the filesystem.
A set of permissions
Lets you pipe values through functions
A path that can be read from, either a Path or a ResourcePath.
Lets you pattern match strings with interpolated glob-variables
An absolute path on the filesystem.
Thrown when you try to read from a resource that doesn't exist.
Classloaders are tricky: http://stackoverflow.
Represents a possible root where classpath resources can be loaded from; either a ResourceRoot.ClassLoader or a ResourceRoot.Class.
An implicit wrapper defining the things that can be "interpolated" directly into a subprocess call.
Thrown when a shellout command results in a non-zero exit code.
Encapsulates one of the output streams from a subprocess and provides convenience methods for accessing it in a variety of forms
An Callable1 that returns a Seq[R], but can also do so
lazily (Iterator[R]) via op.iter! arg
.
Kills the given process with the given signal, e.
The result from doing an system stat
on a particular path.
Used to spawn a subprocess interactively; any output gets printed to the console and any input gets requested from the current console.
Used to spawn a subprocess interactively; any output gets printed to the
console and any input gets requested from the current console. Can be
used to run interactive subprocesses like %vim
, %python
,
%ssh "www.google.com"
or %sbt
.
Spawns a subprocess non-interactively, waiting for it to complete and collecting all output into a CommandResult which exposes it in a convenient form.
Spawns a subprocess non-interactively, waiting for it to complete and
collecting all output into a CommandResult which exposes it in a
convenient form. Call via %%('whoami).out.trim
or
%%('git, 'commit, "-am", "Hello!").exitCode
Extractor to let you easily pattern match on ops.Paths.
Lets you call FilterMapExt aliases on Arrays too
Lets you call FilterMapExt aliases on Arrays too
If you want to call subprocesses using % or %% and don't care what working directory they use, import this via
Allows you to pipe sequences into other sequences to convert them, e.
Allows you to pipe sequences into other sequences to convert them, e.g. Seq(1, 2, 3) |> Vector
Internal utilities to support spawning subprocesses
Copies a file or folder from one place to another.
Checks if a file or folder exists at the given path.
Lets you treat any path as a file, letting you access any property you'd normally access through stat-ing it by stat-ing the file for you when necessary.
The user's home directory
Creates a hardlink between two paths.
List the files and folders in a directory.
Makes directories up to the specified path.
Moves a file or folder from one place to another.
The current working directory for this process.
Reads a file into memory, either as a String, as (read.
Roughly equivalent to bash's rm -rf
.
The root of the filesystem
Alias for java.nio.file.Files.createTempFile
and
java.io.File.deleteOnExit
.
Write some data to a file.
(Since version 0.7.5) replaced by pwd