1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-17 09:04:50 +02:00

Paths: add "items" getter

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

View file

@ -21,6 +21,11 @@ class Paths(private val _paths: MutableList<Item>) {
return _paths.map { it.path }
}
val items: List<Item>
get() {
return _paths.toList()
}
/**
* Add a [Path] to the list.
*