Package-level declarations
Types
Link copied to clipboard
class FileWatcher(val directory: Path, onInit: (Path) -> Unit? = null, onCreate: (Path) -> Unit? = null, onModify: (Path) -> Unit? = null, onDelete: (Path) -> Unit? = null, scope: CoroutineScope = CoroutineScope(Dispatchers.IO)) : TypedExecutableSuspend<Job> , AutoCloseable
Наблюдатель за файловой системой: отслеживает создание, изменение и удаление файлов и каталогов в заданном каталоге и его подкаталогах (рекурсивно).