webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
planet.cache Namespace Reference

Functions

def filename (directory, filename)
 
def utf8 (value)
 

Variables

 re_url_scheme
 
 re_slash
 
 re_initial_cruft
 
 re_final_cruft
 

Function Documentation

◆ filename()

def planet.cache.filename (   directory,
  filename 
)
Return a filename suitable for the cache.

Strips dangerous and common characters to create a filename we
can use to store the cache in.

◆ utf8()

def planet.cache.utf8 (   value)
Return the value as a UTF-8 string.

Variable Documentation

◆ re_final_cruft

planet.cache.re_final_cruft

◆ re_initial_cruft

planet.cache.re_initial_cruft

◆ re_slash

planet.cache.re_slash

◆ re_url_scheme

planet.cache.re_url_scheme