2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 12:55:18 +00:00

Merge pull request #177 from restic/add-src-doc

Add code documentation
This commit is contained in:
Alexander Neumann 2015-05-09 13:15:40 +02:00
commit 1d37fe3f97
11 changed files with 26 additions and 1 deletions

View File

@ -1,2 +1,2 @@
// Package backend provides local and remote storage for restic backups.
// Package backend provides local and remote storage for restic repositories.
package backend

2
backend/local/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package local implements repository storage in a local directory.
package local

3
backend/sftp/doc.go Normal file
View File

@ -0,0 +1,3 @@
// Package sftp implements repository storage in a directory on a remote server
// via the sftp protocol.
package sftp

2
cmd/restic/doc.go Normal file
View File

@ -0,0 +1,2 @@
// This package contains the code for the restic executable.
package main

2
crypto/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package crypto provides all cryptographic operations needed in restic.
package crypto

2
debug/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package debug provides an infrastructure for logging debug information and breakpoints.
package debug

6
doc.go Normal file
View File

@ -0,0 +1,6 @@
// Package restic is the top level package for the restic backup program,
// please see https://github.com/restic/restic for more information.
//
// This package exposes the main components needed to create and restore a
// backup as well as handling things like a local cache of objects.
package restic

2
pack/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package pack provides functions for combining and parsing pack files.
package pack

2
pipe/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package pipe implements walking a directory in a deterministic order.
package pipe

2
server/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package server implements a restic repository on top of a backend.
package server

2
test/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package test_helper provides helper functions for writing tests for restic.
package test_helper