LinkOptionPath

sbt.io.LinkOptionPath
final class LinkOptionPath(p: Path, lo: Vector[LinkOption]) extends RichNioPath

Attributes

Graph
Supertypes
trait RichNioPath
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def aclFileAttributeView: AclFileAttributeView

Attributes

Inherited from:
RichNioPath
def addPermission(permission: PosixFilePermission): Unit

Adds permission to this file. This operation requires underlying filesystem to support IO.isPosix.

Adds permission to this file. This operation requires underlying filesystem to support IO.isPosix.

Value parameters

permission

the permission to add

Attributes

Inherited from:
RichNioPath
def attributes: BasicFileAttributes

Attributes

Inherited from:
RichNioPath
def dosAttributes: DosFileAttributes

Attributes

Inherited from:
RichNioPath
def group: GroupPrincipal

Returns the group owner of a file. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Returns the group owner of a file. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Attributes

Inherited from:
RichNioPath
def groupName: String

Returns the group owner of a file. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Returns the group owner of a file. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Attributes

Inherited from:
RichNioPath
def isGroupExecutable: Boolean

Tests if this file has the group+execute permission. This operation requires underlying filesystem to support IO.isPosix.

Tests if this file has the group+execute permission. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def isGroupReadable: Boolean

Tests if this file has the group+read permission. This operation requires underlying filesystem to support IO.isPosix.

Tests if this file has the group+read permission. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def isGroupWritable: Boolean

Tests if this file has the group+write permission. This operation requires underlying filesystem to support IO.isPosix.

Tests if this file has the group+write permission. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def isOthersExecutable: Boolean

Tests if this file has the others+execute permission. This operation requires underlying filesystem to support IO.isPosix.

Tests if this file has the others+execute permission. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def isOthersReadable: Boolean

Tests if this file has the others+read permission. This operation requires underlying filesystem to support IO.isPosix.

Tests if this file has the others+read permission. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def isOthersWritable: Boolean

Tests if this file has the others+write permission. This operation requires underlying filesystem to support IO.isPosix.

Tests if this file has the others+write permission. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def isOwnerExecutable: Boolean

Tests if this file has the owner+execute permission. This operation requires underlying filesystem to support IO.isPosix.

Tests if this file has the owner+execute permission. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def isOwnerReadable: Boolean

Tests if this file has the owner+read permission. This operation requires underlying filesystem to support IO.isPosix.

Tests if this file has the owner+read permission. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def isOwnerWritable: Boolean

Tests if this file has the owner+write permission. This operation requires underlying filesystem to support IO.isPosix.

Tests if this file has the owner+write permission. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def owner: UserPrincipal

Returns the owner of a file. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Returns the owner of a file. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Attributes

Inherited from:
RichNioPath
def ownerName: String

Returns the owner of a file. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Returns the owner of a file. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Attributes

Inherited from:
RichNioPath
def permissions: Set[PosixFilePermission]

Returns this file's POSIX permissions. This operation requires underlying filesystem to support IO.isPosix.

Returns this file's POSIX permissions. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def permissionsAsString: String

Returns this file's POSIX permissions. This operation requires underlying filesystem to support IO.isPosix.

Returns this file's POSIX permissions. This operation requires underlying filesystem to support IO.isPosix.

Attributes

Inherited from:
RichNioPath
def posixAttributes: PosixFileAttributes

Attributes

Inherited from:
RichNioPath
def removePermission(permission: PosixFilePermission): Unit

Removes permission from this file. This operation requires underlying filesystem to support IO.isPosix.

Removes permission from this file. This operation requires underlying filesystem to support IO.isPosix.

Value parameters

permission

the permission to remove

Attributes

Inherited from:
RichNioPath
def setGroup(group: String): Unit

Updates the group owner of the file. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Updates the group owner of the file. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Value parameters

group

the new group owner

Attributes

Inherited from:
RichNioPath
def setOwner(owner: String): Unit

Updates the file owner. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Updates the file owner. This operation requires underlying filesystem to support IO.hasFileOwnerAttributeView.

Value parameters

owner

the new group owner

Attributes

Inherited from:
RichNioPath
def setPermissions(permissions: Set[PosixFilePermission]): Unit

Updates permission of this file. This operation requires underlying filesystem to support IO.isPosix.

Updates permission of this file. This operation requires underlying filesystem to support IO.isPosix.

Value parameters

permissions

the permissions to add

Attributes

Inherited from:
RichNioPath
def testPermission(permission: PosixFilePermission): Boolean

Tests if this file has the given permission. This operation requires underlying filesystem to support IO.isPosix.

Tests if this file has the given permission. This operation requires underlying filesystem to support IO.isPosix.

Value parameters

permission

the permission to remove

Attributes

Inherited from:
RichNioPath

Concrete fields

override val asPath: Path