.. _f-fileinfo: module ``filehelper.file_info`` =============================== .. inheritance-diagram:: pyquickhelper.filehelper.file_info Short summary +++++++++++++ module ``pyquickhelper.filehelper.file_info`` Defines class :class:`FileInfo` :githublink:`%|py|6` Classes +++++++ +-----------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +=================================================================+==================================================================================================================+ | :class:`FileInfo ` | Intermediate class: it represents the data it collects about a file to determine whether or not it was modified. | +-----------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ Functions +++++++++ +------------------------------------------------------------------------------------------------------+----------------------------------------------+ | function | truncated documentation | +======================================================================================================+==============================================+ | :func:`checksum_md5 ` | Computes MD5 for a file. | +------------------------------------------------------------------------------------------------------+----------------------------------------------+ | :func:`convert_st_date_to_datetime ` | Converts a string into a datetime. | +------------------------------------------------------------------------------------------------------+----------------------------------------------+ | :func:`is_file_string ` | Tells if the string *s* could be a filename. | +------------------------------------------------------------------------------------------------------+----------------------------------------------+ | :func:`is_url_string ` | Tells if the string s could be a url. | +------------------------------------------------------------------------------------------------------+----------------------------------------------+ Methods +++++++ +----------------------------------------------------------------------------+-------------------------+ | method | truncated documentation | +============================================================================+=========================+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------+-------------------------+ | :py:meth:`__str__ ` | usual | +----------------------------------------------------------------------------+-------------------------+ | :meth:`set_date ` | set date | +----------------------------------------------------------------------------+-------------------------+ | :meth:`set_md5 ` | set md5 | +----------------------------------------------------------------------------+-------------------------+ | :meth:`set_mdate ` | set mdate | +----------------------------------------------------------------------------+-------------------------+ Documentation +++++++++++++ .. automodule:: pyquickhelper.filehelper.file_info :members: :special-members: __init__ :show-inheritance: