Flutter Engine
The Flutter Engine
third_party
skia
tools
skpbench
_os_path.py
Go to the documentation of this file.
1
# Copyright 2016 Google Inc.
2
#
3
# Use of this source code is governed by a BSD-style license that can be
4
# found in the LICENSE file.
5
6
from
os
import
path
7
import
glob
8
9
def
join
(*pathnames):
10
return
path.join(*pathnames)
11
12
def
basename
(pathname):
13
return
pathname.basename(pathname)
14
15
def
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
tools.skpbench._os_path.find_skps
def find_skps(skps)
Definition:
_os_path.py:15
tools.skpbench._os_path.basename
def basename(pathname)
Definition:
_os_path.py:12
tools.skpbench._os_path.join
def join(*pathnames)
Definition:
_os_path.py:9
Generated on Sun Jun 23 2024 21:56:51 for Flutter Engine by
1.9.4