Lines Matching refs:create
74 mode=None, create=False, truncate=False):
85 'mode' optional permissions mask used if we create 'path'
87 'create' optional flag indicating if we should create 'path'
101 # if create is true the user must supply a mode mask
102 assert not create or mode != None
131 if e.errno != errno.ENOENT or not create:
134 assert path_fd or create
136 # the file doesn't exist so we should try to create it.
150 # we opened the directory, now create the file