Home | History | Annotate | Download | only in plat-mac

Lines Matching full:infile

107 def decode(infile, outpath, resonly=False, verbose=False):
108 """decode(infile, outpath [, resonly=False, verbose=False])
112 outpath containing only the resource fork from infile.
114 with the data and resource forks from infile. On platforms
119 if not hasattr(infile, 'read'):
120 if isinstance(infile, Carbon.File.Alias):
121 infile = infile.ResolveAlias()[0]
124 if isinstance(infile, (Carbon.File.FSSpec, Carbon.File.FSRef)):
125 infile = infile.as_pathname()
127 if isinstance(infile, Carbon.File.FSRef):
128 infile = infile.as_pathname()
129 infile = open(infile, 'rb')
131 asfile = AppleSingle(infile, verbose=verbose)