public static bool IsDownload(this SyncTarget.types type) => type == SyncTarget.types.download;
public static bool IsUpload(this SyncTarget.types type) => type == SyncTarget.types.upload;
public static bool IsDownload(this SyncTarget.types type) => type == SyncTarget.types.download;
public static bool IsUpload(this SyncTarget.types type) => type == SyncTarget.types.upload;