예제 #1
0
파일: ui.go 프로젝트: kdevroede/camlistore
func wantsPermanode(req *http.Request) bool {
	if httputil.IsGet(req) && blob.ValidRefString(req.FormValue("p")) {
		// The new UI is handled by index.html.
		if req.FormValue("newui") != "1" {
			return true
		}
	}
	return false
}
예제 #2
0
파일: ui.go 프로젝트: rakyll/camlistore
func wantsFileTreePage(req *http.Request) bool {
	return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("d"))
}
예제 #3
0
파일: ui.go 프로젝트: rakyll/camlistore
func wantsBlobInfo(req *http.Request) bool {
	return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("b"))
}
예제 #4
0
파일: ui.go 프로젝트: rakyll/camlistore
func wantsPermanode(req *http.Request) bool {
	return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("p"))
}
예제 #5
0
파일: ui.go 프로젝트: newobject/camlistore
func wantsFileTreePage(req *http.Request) bool {
	return req.Method == "GET" && blob.ValidRefString(req.FormValue("d"))
}
예제 #6
0
파일: ui.go 프로젝트: newobject/camlistore
func wantsBlobInfo(req *http.Request) bool {
	return req.Method == "GET" && blob.ValidRefString(req.FormValue("b"))
}
예제 #7
0
파일: ui.go 프로젝트: newobject/camlistore
func wantsPermanode(req *http.Request) bool {
	return req.Method == "GET" && blob.ValidRefString(req.FormValue("p"))
}