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

Unified Diff: appengine/findit/common/repository.py

Issue 2344443005: [Findit] Factoring the gitiles (etc) stuff out into its own directory (Closed)
Patch Set: reordering imports Created 4 years, 2 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
« no previous file with comments | « appengine/findit/common/git_repository.py ('k') | appengine/findit/common/rietveld.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/common/repository.py
diff --git a/appengine/findit/common/repository.py b/appengine/findit/common/repository.py
deleted file mode 100644
index 1e1f0f6288e186421daa18e5371e4f82079b82fe..0000000000000000000000000000000000000000
--- a/appengine/findit/common/repository.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-
-# pylint: disable=E0711, W0613, R0201
-class Repository(object): # pragma: no cover
- """An interface for source code repository."""
-
- def GetChangeLog(self, revision):
- """Returns the change log of the given revision."""
- raise NotImplemented()
-
- def GetChangeLogs(self, start_revision, end_revision, n=1000):
- """Returns change log list in (start_revision, end_revision]."""
- raise NotImplemented()
-
- def GetChangeDiff(self, revision):
- """Returns the diff of the given revision."""
- raise NotImplemented()
-
- def GetBlame(self, path, revision):
- """Returns blame of the file at ``path`` of the given revision."""
- raise NotImplemented()
-
- def GetSource(self, path, revision):
- """Returns source code of the file at ``path`` of the given revision."""
- raise NotImplemented()
« no previous file with comments | « appengine/findit/common/git_repository.py ('k') | appengine/findit/common/rietveld.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698