Functionwrite-contentsNo description available. write-contents: func(id: id, contents: resource-contents) -> result<_, io-error>;