Lines Matching refs:filemode
259 def filemode(mode): function
264 return stat.filemode(mode)
1581 filemode, comptype = mode.split(":", 1)
1582 filemode = filemode or "r"
1591 return func(name, filemode, fileobj, **kwargs)
1594 filemode, comptype = mode.split("|", 1)
1595 filemode = filemode or "r"
1598 if filemode not in ("r", "w"):
1601 stream = _Stream(name, filemode, comptype, fileobj, bufsize)
1603 t = cls(name, filemode, stream, **kwargs)
1885 _safe_print(stat.filemode(tarinfo.mode))