Lines Matching refs:File
11 from Carbon import File, Files
34 srcfsr = File.FSRef(src)
39 dstdirfsr = File.FSRef(dstdir)
41 relativefsr = File.FSRef(relative)
43 alias = File.FSNewAlias(relativefsr, srcfsr)
48 File.FSGetResourceForkName())
49 h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
76 """Tell the finder a file has changed. No-op on MacOSX."""
82 """Tell the finder a file has changed"""
88 f.update(File.FSRef(pardir))
91 """Copy a file, including finder info, resource fork, etc"""
92 src = File.pathname(src)
93 dst = File.pathname(dst)
115 srcfss = File.FSSpec(src)
116 dstfss = File.FSSpec(dst)
125 srcfsr = File.FSRef(src)
126 dstfsr = File.FSRef(dst)
131 """Copy a complete file tree to a new destination"""