toggle menu
search in API
common
selfie-lib
/
com.diffplug.selfie.guts
/
TypedPath
Typed
Path
data
class
TypedPath
(
val
absolutePath
:
String
)
:
Comparable
<
TypedPath
>
A unix-style path where trailing-slash means it is a folder.
Members
Constructors
Typed
Path
Link copied to clipboard
constructor
(
absolutePath
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
absolute
Path
Link copied to clipboard
val
absolutePath
:
String
is
Folder
Link copied to clipboard
val
isFolder
:
Boolean
name
Link copied to clipboard
val
name
:
String
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
TypedPath
)
:
Int
parent
Folder
Link copied to clipboard
fun
parentFolder
(
)
:
TypedPath
relativize
Link copied to clipboard
fun
relativize
(
child
:
TypedPath
)
:
String
resolve
File
Link copied to clipboard
fun
resolveFile
(
child
:
String
)
:
TypedPath
resolve
Folder
Link copied to clipboard
fun
resolveFolder
(
child
:
String
)
:
TypedPath