mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-07 20:07:30 +02:00
added helper case class for json body
This commit is contained in:
12
src/main/scala/gitbucket/core/api/UploadFiles.scala
Normal file
12
src/main/scala/gitbucket/core/api/UploadFiles.scala
Normal file
@@ -0,0 +1,12 @@
|
||||
package gitbucket.core.api
|
||||
|
||||
|
||||
case class UploadFiles(branch: String, path: String, fileIds : Map[String,String], message: String)
|
||||
{
|
||||
def isValid: Boolean = {
|
||||
|
||||
fileIds.size > 0
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user