mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-25 04:17:59 +01:00
Paths: add "items" getter
This commit is contained in:
parent
2b527858f9
commit
f6f76f4984
1 changed files with 5 additions and 0 deletions
|
@ -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