Rename GC worker package to gc
This commit is contained in:
parent
420a5e5a3a
commit
76c9339453
6 changed files with 4 additions and 4 deletions
13
workers/gc/models_interface.py
Normal file
13
workers/gc/models_interface.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
from abc import ABCMeta, abstractmethod
|
||||
|
||||
from six import add_metaclass
|
||||
|
||||
@add_metaclass(ABCMeta)
|
||||
class GCWorkerDataInterface(object):
|
||||
"""
|
||||
Interface that represents all data store interactions required by the GC worker.
|
||||
"""
|
||||
@abstractmethod
|
||||
def perform_garbage_collection(self):
|
||||
""" Performs garbage collection on a single repository, if any can be found with garbage. """
|
||||
pass
|
Reference in a new issue