mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-24 03:47:57 +01:00
Paths: add "items" getter
This commit is contained in:
parent
c2b9017b5d
commit
95f5f58843
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ class Paths(private val _paths: MutableList<Item>) {
|
|||
return _paths.map { it.path }
|
||||
}
|
||||
|
||||
val items: List<Item>
|
||||
get() = _paths.toList()
|
||||
|
||||
/**
|
||||
* Add a [Path] to the list.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue