I hereby claim:
- I am technoweenie on github.
- I am technoweenie (https://keybase.io/technoweenie) on keybase.
- I have a public key ASDYg1Rh0rCIQPFh7-m5Ip0vINt46_GxKKcpHCF6WN_-Uwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| ) | |
| func main() { | |
| fmt.Println("WAT") | |
| } |
| require "set" | |
| lfs_file_output = `git lfs ls-files` | |
| lfs_files = lfs_file_output. | |
| chomp. # strip ending \n | |
| split("\n"). # array of lines | |
| map { |line| line.split.last } # filename is at the end of the line | |
| current_commit = `git rev-parse HEAD`.chomp | |
| git_output = `git ls-tree #{current_commit} -r` |
| diff --git a/test/cmd/lfstest-shasum.go b/test/cmd/lfstest-shasum.go | |
| new file mode 100644 | |
| index 0000000..6ef16ee | |
| --- /dev/null | |
| +++ b/test/cmd/lfstest-shasum.go | |
| @@ -0,0 +1,44 @@ | |
| +package main | |
| + | |
| +import ( | |
| + "crypto/sha256" |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/Merovius/git2go" | |
| "os" | |
| ) | |
| // $ GOPATH=./vendor go run test.go | |
| // # command-line-arguments |
| // outdated | |
| // see https://github.com/technoweenie/camo.go |
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| "os" | |
| "path/filepath" |
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| "os" | |
| ) |