Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit a9063ec

Browse files
authored
Fix typos. (#14)
1 parent 3c53b0b commit a9063ec

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This app is currently compatible with Dgraph v1.0.14
3838

3939
3. Convert stackexchange data from relation to graph. From the current directory:
4040

41-
for category in comments posts tags users votes; do go run $category/main.go -dir="/users/$USER/Downloads/lifehacks.stackexchange.com" -output="/users/$USER/dgraph"; done
41+
for category in comments posts tags users votes; do go run $category/main.go -dir="$HOME/Downloads/lifehacks.stackexchange.com" -output="/$HOME/dgraph/$category.rdf.gz"; done
4242

4343
4. Run the [schema mutation](https://github.com/dgraph-io/graphoverflow/blob/master/schema.txt)
4444

Diff for: comments/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func main() {
4747

4848
w := gzip.NewWriter(o)
4949

50-
log.Println("1/2 Reading votes file")
50+
log.Println("1/2 Reading comments file")
5151
c := bufio.NewReader(f)
5252
decoder := xml.NewDecoder(c)
5353

Diff for: posts/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func main() {
9191
check(err)
9292
w := gzip.NewWriter(o)
9393

94-
log.Println("1/2 Reading file")
94+
log.Println("1/2 Reading posts and posthistory file")
9595
pc := bufio.NewReader(pf)
9696
pcd := xml.NewDecoder(pc)
9797

Diff for: tags/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func main() {
4141

4242
w := gzip.NewWriter(o)
4343

44-
log.Println("1/2 Reading votes file")
44+
log.Println("1/2 Reading tags file")
4545
c := bufio.NewReader(f)
4646
decoder := xml.NewDecoder(c)
4747

Diff for: users/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func main() {
4545

4646
w := gzip.NewWriter(o)
4747

48-
log.Println("1/2 Reading file")
48+
log.Println("1/2 Reading users file")
4949
c := bufio.NewReader(f)
5050
decoder := xml.NewDecoder(c)
5151

0 commit comments

Comments
 (0)