Файловый менеджер - Редактировать - /home/lmsyaran/public_html/joomla5/libraries/vendor/php-tuf/php-tuf/fixtures/Delegated/__init__.py
Назад
from fixtures.builder import ConsistencyVariantFixtureBuilder def build(): fixture = ConsistencyVariantFixtureBuilder('Delegated', { 'use_timestamp_length': False })\ .create_target('testtarget.txt')\ .publish(with_client=True)\ .delegate('unclaimed', ['level_1_*.txt'])\ .create_target('level_1_target.txt', signing_role='unclaimed')\ .publish(with_client=True) # === Point of No Return === # Past this point, we don't re-export the client. This supports testing the # client's own ability to pick up and trust new data from the repository. fixture.add_key('targets')\ .add_key('snapshot')\ .invalidate()\ .publish()\ .revoke_key('targets')\ .revoke_key('snapshot')\ .invalidate()\ .publish()
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка