[cleanup]
This commit is contained in:
parent
28c93a6248
commit
d5932121dd
3 changed files with 1 additions and 4 deletions
|
@ -47,8 +47,6 @@ impl RemoteCalendar {
|
||||||
cached_version_tags: Mutex::new(None),
|
cached_version_tags: Mutex::new(None),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
|
|
|
@ -75,6 +75,7 @@ pub trait DavCalendar : BaseCalendar {
|
||||||
/// Usually, these are local calendars fully backed by a local folder
|
/// Usually, these are local calendars fully backed by a local folder
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait CompleteCalendar : BaseCalendar {
|
pub trait CompleteCalendar : BaseCalendar {
|
||||||
|
/// Create a new calendar
|
||||||
fn new(name: String, id: CalendarId, supported_components: SupportedComponents) -> Self;
|
fn new(name: String, id: CalendarId, supported_components: SupportedComponents) -> Self;
|
||||||
|
|
||||||
/// Get the IDs of all current items in this calendar
|
/// Get the IDs of all current items in this calendar
|
||||||
|
|
|
@ -14,8 +14,6 @@ use my_tasks::settings::USERNAME;
|
||||||
use my_tasks::settings::PASSWORD;
|
use my_tasks::settings::PASSWORD;
|
||||||
use my_tasks::settings::EXAMPLE_TASK_URL;
|
use my_tasks::settings::EXAMPLE_TASK_URL;
|
||||||
use my_tasks::settings::EXAMPLE_CALENDAR_URL;
|
use my_tasks::settings::EXAMPLE_CALENDAR_URL;
|
||||||
use my_tasks::ItemId;
|
|
||||||
use my_tasks::traits::DavCalendar;
|
|
||||||
|
|
||||||
|
|
||||||
static EXAMPLE_TASKS_BODY_LAST_MODIFIED: &str = r#"
|
static EXAMPLE_TASKS_BODY_LAST_MODIFIED: &str = r#"
|
||||||
|
|
Loading…
Add table
Reference in a new issue