You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
627 B
Go
26 lines
627 B
Go
// Copyright 2017 Drone.IO Inc. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package azure
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.awesome-for.me/liuzhiguo/go-scm/scm"
|
|
)
|
|
|
|
type linker struct {
|
|
base string
|
|
}
|
|
|
|
// Resource returns a link to the resource.
|
|
func (l *linker) Resource(ctx context.Context, repo string, ref scm.Reference) (string, error) {
|
|
return "", scm.ErrNotSupported
|
|
}
|
|
|
|
// Diff returns a link to the diff.
|
|
func (l *linker) Diff(ctx context.Context, repo string, source, target scm.Reference) (string, error) {
|
|
return "", scm.ErrNotSupported
|
|
}
|