linkcheck.fileutil
File and path utilities.
Functions
  | 
Return modification time of filename or zero on errors.  | 
  | 
Return file size in Bytes, or -1 on error.  | 
  | 
Return tuple (open file object, filename) pointing to a temporary file.  | 
  | 
Test if given module can be imported.  | 
  | 
Check if file is group or world accessible.  | 
  | 
Check if file is readable.  | 
  | 
Check if is a file object pointing to a TTY.  | 
  | 
Check if the file is a valid config file.  | 
  | 
Check if file or directory is world writable.  | 
  | 
Ensure path string is compatible with the platform file system encoding.  | 
- linkcheck.fileutil.get_mtime(filename)[source]
 Return modification time of filename or zero on errors.
- linkcheck.fileutil.get_temp_file(mode='r', **kwargs)[source]
 Return tuple (open file object, filename) pointing to a temporary file.
- linkcheck.fileutil.has_module(name, without_error=True)[source]
 Test if given module can be imported. :param without_error: True if module must not throw any errors when importing :return: flag if import is successful :rtype: bool
- linkcheck.fileutil.is_accessable_by_others(filename)[source]
 Check if file is group or world accessible.
- linkcheck.fileutil.is_valid_config_source(filename)[source]
 Check if the file is a valid config file.