Log in
Model

Flag

Magento\MediaStorage\Model\File\Storage\Flag

What it does

This class manages the synchronization status flag for media storage operations in Magento 2.

Developers use it to track the state of file synchronization processes between different storage systems (like local filesystem and remote storage), including whether sync is running, finished, or has errors.

It maintains state information and provides a way to flag when errors occur during synchronization.

Public Methods

  • passError()