Skip to content

Commit 518c084

Browse files
committed
remove target ast equality check
1 parent f0e8224 commit 518c084

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

unasyncd/main.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ async def files_diverged(self, source: File, target: File) -> bool:
201201
- ``source_file`` stats have not changed
202202
- ``source_file`` is AST-equivalent to its previous version
203203
- ``target_file`` does exist
204-
- ``target_file`` is AST-equivalent to its previous version
205204
206205
If the ``force_regen`` option is used, always return ``True``.
207206
"""
@@ -214,9 +213,6 @@ async def files_diverged(self, source: File, target: File) -> bool:
214213
if not await target.exists():
215214
return True
216215

217-
if not await target.meta_equal(await self.get_meta(target)):
218-
return True
219-
220216
return False
221217

222218
async def _restore_from_cache(self, source: File, target: File) -> bool:

0 commit comments

Comments
 (0)