MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / _flags

Function _flags

pipcl.py:3021–3034  ·  view source on GitHub ↗

Turns sequence into string, prefixing/quoting each item.

( items, prefix='', quote='')

Source from the content-addressed store, hash-verified

3019
3020
3021def _flags( items, prefix='', quote=''):
3022 '''
3023 Turns sequence into string, prefixing/quoting each item.
3024 '''
3025 if not items:
3026 return ''
3027 if isinstance( items, str):
3028 items = items,
3029 ret = ''
3030 for item in items:
3031 if ret:
3032 ret += ' '
3033 ret += f'{prefix}{quote}{item}{quote}'
3034 return ret.strip()
3035
3036
3037def _fs_mtime( filename, default=0):

Callers 1

build_extensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…