Flutter Engine
The Flutter Engine
Functions
tools.skpbench._os_path Namespace Reference

Functions

def join (*pathnames)
 
def basename (pathname)
 
def find_skps (skps)
 

Function Documentation

◆ basename()

def tools.skpbench._os_path.basename (   pathname)

Definition at line 12 of file _os_path.py.

12def basename(pathname):
13 return pathname.basename(pathname)
14
def basename(pathname)
Definition: _os_path.py:12

◆ find_skps()

def tools.skpbench._os_path.find_skps (   skps)

Definition at line 15 of file _os_path.py.

15def find_skps(skps):
16 pathnames = list()
17 for skpglob in skps:
18 for skp in glob.iglob(skpglob):
19 if (path.isdir(skp)):
20 pathnames.extend(glob.iglob(path.join(skp, '*.skp')))
21 pathnames.extend(glob.iglob(path.join(skp, '*.mskp')))
22 else:
23 pathnames.append(skp)
24 return pathnames

◆ join()

def tools.skpbench._os_path.join ( pathnames)

Definition at line 9 of file _os_path.py.

9def join(*pathnames):
10 return path.join(*pathnames)
11
static SkString join(const CommandLineFlags::StringArray &)
Definition: skpbench.cpp:741