mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-09-28 18:49:56 +02:00
Paths: add "items" getter
This commit is contained in:
parent
2b527858f9
commit
f6f76f4984
|
@ -21,6 +21,11 @@ class Paths(private val _paths: MutableList<Item>) {
|
||||||
return _paths.map { it.path }
|
return _paths.map { it.path }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val items: List<Item>
|
||||||
|
get() {
|
||||||
|
return _paths.toList()
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a [Path] to the list.
|
* Add a [Path] to the list.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue