2020-11-01 08:43:16 +01:00
|
|
|
"""
|
|
|
|
Maildir repository support
|
|
|
|
Copyright (C) 2002-2015 John Goerzen & contributors
|
|
|
|
<jgoerzen@complete.org>
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
"""
|
2012-10-16 20:20:35 +02:00
|
|
|
|
|
|
|
from offlineimap.repository.Maildir import MaildirRepository
|
|
|
|
from offlineimap.folder.GmailMaildir import GmailMaildirFolder
|
|
|
|
|
2020-08-29 19:50:46 +02:00
|
|
|
|
2012-10-16 20:20:35 +02:00
|
|
|
class GmailMaildirRepository(MaildirRepository):
|
2020-11-01 09:03:37 +01:00
|
|
|
"""
|
|
|
|
GMail Maildir Repository Class
|
|
|
|
"""
|
2012-10-16 20:20:35 +02:00
|
|
|
def getfoldertype(self):
|
|
|
|
return GmailMaildirFolder
|