mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
Add license header
This commit is contained in:
parent
26c33c4a69
commit
843fd9bdbd
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package beacon
|
package beacon
|
||||||
|
|
||||||
import "net"
|
import "net"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package beacon
|
package beacon
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package beacon implements an UDP broadcast beacon
|
// Package beacon implements an UDP broadcast beacon
|
||||||
package beacon
|
package beacon
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package buffers manages a set of reusable byte buffers.
|
// Package buffers manages a set of reusable byte buffers.
|
||||||
package buffers
|
package buffers
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package cid provides a manager for mappings between node ID:s and connection ID:s.
|
// Package cid provides a manager for mappings between node ID:s and connection ID:s.
|
||||||
package cid
|
package cid
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package cid
|
package cid
|
||||||
|
|
||||||
import "testing"
|
import "testing"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
//+build solaris
|
//+build solaris
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
//+build !windows,!solaris
|
//+build !windows,!solaris
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
//+build locktrace
|
//+build locktrace
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build !windows
|
// +build !windows
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build windows
|
// +build windows
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "testing"
|
import "testing"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package config implements reading and writing of the syncthing configuration file.
|
// Package config implements reading and writing of the syncthing configuration file.
|
||||||
package config
|
package config
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package discover
|
package discover
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package discover
|
package discover
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package discover implements the node discovery protocol.
|
// Package discover implements the node discovery protocol.
|
||||||
package discover
|
package discover
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package discover
|
package discover
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package discover
|
package discover
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package files
|
package files
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package files provides a set type to track local/remote files with newness checks.
|
// Package files provides a set type to track local/remote files with newness checks.
|
||||||
package files
|
package files
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
//+build anal
|
//+build anal
|
||||||
|
|
||||||
package files
|
package files
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
//+build !anal
|
//+build !anal
|
||||||
|
|
||||||
package files
|
package files
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package files
|
package files
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
/*jslint browser: true, continue: true, plusplus: true */
|
/*jslint browser: true, continue: true, plusplus: true */
|
||||||
/*global $: false, angular: false */
|
/*global $: false, angular: false */
|
||||||
|
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
Use of this source code is governed by an MIT-style license that can be
|
||||||
|
found in the LICENSE file.
|
||||||
|
-->
|
||||||
<html lang="en" ng-app="syncthing" ng-controller="SyncthingCtrl" class="ng-cloak">
|
<html lang="en" ng-app="syncthing" ng-controller="SyncthingCtrl" class="ng-cloak">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
# Use of this source code is governed by an MIT-style license that can be
|
||||||
|
# found in the LICENSE file.
|
||||||
|
|
||||||
iterations=${1:-5}
|
iterations=${1:-5}
|
||||||
|
|
||||||
id1=I6KAH7666SLLL5PFXSOAUFJCDZYAOMLEKCP2GB3BV5RQST3PSROA
|
id1=I6KAH7666SLLL5PFXSOAUFJCDZYAOMLEKCP2GB3BV5RQST3PSROA
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build ignore
|
// +build ignore
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build ignore
|
// +build ignore
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build ignore
|
// +build ignore
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
# Use of this source code is governed by an MIT-style license that can be
|
||||||
|
# found in the LICENSE file.
|
||||||
|
|
||||||
iterations=${1:-5}
|
iterations=${1:-5}
|
||||||
|
|
||||||
id1=I6KAH7666SLLL5PFXSOAUFJCDZYAOMLEKCP2GB3BV5RQST3PSROA
|
id1=I6KAH7666SLLL5PFXSOAUFJCDZYAOMLEKCP2GB3BV5RQST3PSROA
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package lamport implements a simple Lamport Clock for versioning
|
// Package lamport implements a simple Lamport Clock for versioning
|
||||||
package lamport
|
package lamport
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package logger implements a standardized logger with callback functionality
|
// Package logger implements a standardized logger with callback functionality
|
||||||
package logger
|
package logger
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package model implements repository abstraction and file pulling mechanisms
|
// Package model implements repository abstraction and file pulling mechanisms
|
||||||
package model
|
package model
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build !windows
|
// +build !windows
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build windows
|
// +build windows
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build !windows
|
// +build !windows
|
||||||
|
|
||||||
package osutil
|
package osutil
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build windows
|
// +build windows
|
||||||
|
|
||||||
package osutil
|
package osutil
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package osutil
|
package osutil
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package protocol implements the Block Exchange Protocol.
|
// Package protocol implements the Block Exchange Protocol.
|
||||||
package protocol
|
package protocol
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
import "github.com/calmh/syncthing/xdr"
|
import "github.com/calmh/syncthing/xdr"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
type IndexMessage struct {
|
type IndexMessage struct {
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build darwin
|
// +build darwin
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build !windows,!darwin
|
// +build !windows,!darwin
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// +build windows
|
// +build windows
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package scanner
|
package scanner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package scanner
|
package scanner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package scanner
|
package scanner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package scanner implements a file system scanner and hasher.
|
// Package scanner implements a file system scanner and hasher.
|
||||||
package scanner
|
package scanner
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package scanner
|
package scanner
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package scanner
|
package scanner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package scanner
|
package scanner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package upnp
|
package upnp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
// Package upnp implements UPnP Internet Gateway upnpDevice port mappings
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
package upnp
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Adapted from https://github.com/jackpal/Taipei-Torrent/blob/dd88a8bfac6431c01d959ce3c745e74b8a911793/IGD.go
|
// Adapted from https://github.com/jackpal/Taipei-Torrent/blob/dd88a8bfac6431c01d959ce3c745e74b8a911793/IGD.go
|
||||||
// Copyright (c) 2010 Jack Palevich (https://github.com/jackpal/Taipei-Torrent/blob/dd88a8bfac6431c01d959ce3c745e74b8a911793/LICENSE)
|
// Copyright (c) 2010 Jack Palevich (https://github.com/jackpal/Taipei-Torrent/blob/dd88a8bfac6431c01d959ce3c745e74b8a911793/LICENSE)
|
||||||
// Copyright (c) 2014 Jakob Borg
|
|
||||||
|
// Package upnp implements UPnP Internet Gateway upnpDevice port mappings
|
||||||
|
package upnp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package versioner
|
package versioner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package versioner
|
package versioner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package versioner
|
package versioner
|
||||||
|
|
||||||
type Versioner interface {
|
type Versioner interface {
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package xdr
|
package xdr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// Package xdr implements an XDR (RFC 4506) encoder/decoder.
|
// Package xdr implements an XDR (RFC 4506) encoder/decoder.
|
||||||
package xdr
|
package xdr
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package xdr
|
package xdr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package xdr
|
package xdr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
|
||||||
|
// Use of this source code is governed by an MIT-style license that can be
|
||||||
|
// found in the LICENSE file.
|
||||||
|
|
||||||
package xdr
|
package xdr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
Reference in New Issue
Block a user