1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-24 11:57:59 +01:00

Paths: add "items" getter

This commit is contained in:
Heiko Schaefer 2023-07-09 00:12:08 +02:00
parent c2b9017b5d
commit 95f5f58843
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -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.
*