127
129
def writePlistToResource(rootObject, path, restype='plst', resid=0):
128
130
"""Write 'rootObject' as a plst resource to the resource fork of path.
130
133
from Carbon.File import FSRef, FSGetResourceForkName
131
134
from Carbon.Files import fsRdWrPerm