feat(api): remove tag search endpoints

This commit is contained in:
Harsh Shandilya 2023-07-19 00:50:10 +05:30
parent 42cc852a20
commit d343f3db2b
6 changed files with 0 additions and 75 deletions

View file

@ -1,27 +0,0 @@
/*
* Copyright © 2023 Harsh Shandilya.
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
package dev.msfjarvis.claw.model
class Tags {
private val tags = arrayListOf<String>()
fun addTag(tag: String) {
tags.add(tag)
}
fun removeTag(tag: String) {
tags.remove(tag)
}
operator fun contains(tag: String): Boolean {
return tag in tags
}
override fun toString(): String {
return tags.joinToString(",")
}
}