webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
extract Namespace Reference

Functions

def CheckedJoin (output, path)
 
def IterateZip (path)
 
def IterateTar (path)
 
def main (args)
 

Function Documentation

◆ CheckedJoin()

def extract.CheckedJoin (   output,
  path 
)
CheckedJoin returns os.path.join(output, path). It does sanity checks to
ensure the resulting path is under output, but shouldn't be used on untrusted
input.

◆ IterateTar()

def extract.IterateTar (   path)
IterateTar opens the tar.gz file at path and returns a generator of
(filename, mode, fileobj) tuples for each file in it.

◆ IterateZip()

def extract.IterateZip (   path)
IterateZip opens the zip file at path and returns a generator of
(filename, mode, fileobj) tuples for each file in it.

◆ main()

def extract.main (   args)