Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1178)

Unified Diff: logdog/client/cmd/logdog/path.go

Issue 2372703005: LogDog: Split CLI tool into package and main. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: logdog/client/cmd/logdog/path.go
diff --git a/logdog/client/cmd/logdog/path.go b/logdog/client/cmd/logdog/path.go
deleted file mode 100644
index b08e0f2952f2431ece4b44d5f4512f97ce40db9c..0000000000000000000000000000000000000000
--- a/logdog/client/cmd/logdog/path.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2016 The LUCI Authors. All rights reserved.
-// Use of this source code is governed under the Apache License, Version 2.0
-// that can be found in the LICENSE file.
-
-package main
-
-import (
- "github.com/luci/luci-go/common/config"
- "github.com/luci/luci-go/logdog/common/types"
-)
-
-func makeUnifiedPath(project config.ProjectName, path types.StreamPath) string {
- val := string(project)
- if path != "" {
- val += types.StreamNameSepStr + string(path)
- }
- return val
-}

Powered by Google App Engine
This is Rietveld 408576698