<?xml version="1.0" encoding="UTF-8"?>
<meta id="filehasher" label="CONF_MESSAGE[File Hasher]" description="CONF_MESSAGE[Compute on-demand a hash of the file content and stores it in the metadata if a metastore is provided]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
    <class_definition filename="plugins/meta.filehasher/class.FileHasher.php" classname="FileHasher"/>
   	<client_settings>
   		<resources>
   			<i18n namespace="meta.filehasher" path="plugins/meta.filehasher/i18n" />
   		</resources>
   	</client_settings>
   	<registry_contributions>
           <actions>
               <action name="filehasher_signature">
                   <processing>
                       <serverCallback methodName="switchActions"/>
                   </processing>
               </action>
               <action name="filehasher_delta">
                   <processing>
                       <serverCallback methodName="switchActions"/>
                   </processing>
               </action>
               <action name="filehasher_patch">
                   <processing>
                       <serverCallback methodName="switchActions"/>
                   </processing>
               </action>
           </actions>
   		<hooks>
   			<serverCallback hookName="node.info" methodName="getFileHash" applyCondition="$apply = isSet($_GET['recursive']);"/>
   			<serverCallback hookName="node.change" methodName="invalidateHash" defer="true"/>
   		</hooks>
    </registry_contributions>
</meta>