Commit 7f349cd9 authored by Kirill Smelkov's avatar Kirill Smelkov

*: Minimal fixes so that program documentation renders under godoc properly

- remove blank line between main description and package clause, so that
  the main description is understood as such;
- move notes describing what a file does after package clause, so that
  those notes do not get mixed into program description under godoc.
parent 0b8d834b
......@@ -64,7 +64,6 @@ NOTE the idea of pulling all refs together is similar to git-namespaces
We do likewise if a ref points to tree or blob, which is valid in Git.
*/
package main
import (
......
......@@ -17,8 +17,8 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// Git-backup | Run git subprocess
package main
// Git-backup | Run git subprocess
import (
"bytes"
......
......@@ -17,8 +17,8 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// Git-backup | Git object: Blob Tree Commit Tag
package main
// Git-backup | Git object: Blob Tree Commit Tag
import (
"errors"
......
......@@ -17,9 +17,9 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
package main
// Git-backup | Set "template" type
// TODO -> go:generate + template
package main
// Set<Sha1>
type Sha1Set map[Sha1]struct{}
......
......@@ -17,8 +17,8 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// Git-backup | Sha1 type to work with SHA1 oids
package main
// Git-backup | Sha1 type to work with SHA1 oids
import (
"bytes"
......
......@@ -17,8 +17,8 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// Git-backup | Miscellaneous utilities
package main
// Git-backup | Miscellaneous utilities
import (
"encoding/hex"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment