Created
January 2, 2017 18:10
-
-
Save takezoe/34763f85a80d85d224dd1f5df3c20a65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.gitbucket.lfs.servlet | |
import java.nio.file.Paths | |
import javax.servlet.http.{HttpServletRequest, HttpServletResponse} | |
import org.eclipse.jgit.lfs.lib.AnyLongObjectId | |
import org.eclipse.jgit.lfs.server.fs.{FileLfsRepository, FileLfsServlet, ObjectUploadListener} | |
class GitLfsServlet extends FileLfsServlet( | |
new FileLfsRepository("http://localhost:9090/git-lfs", Paths.get("/tmp/lfs")), 30000L | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment