code: def write_with_mtime(path: Path, content: bytes, mtime: int) -> None:
      path.write_bytes(content)
      os.utime(str(path), (mtime, mtime))
  
imports: import os
  import tempfile
  import time
  from pathlib import Path
  from typing import TYPE_CHECKING, Callable
  from unittest.mock import Mock, patch
  import pytest
  import wandb.filesync.dir_watcher
  from wandb.filesync.dir_watcher import DirWatcher, PolicyEnd, PolicyLive, PolicyNow
  from wandb.sdk.internal.file_pusher import FilePusher
label_desc: Use image node_id 5 for calling a global function with example usage: write_with_mtime(path, content, mtime) without return types