It looks like Resource.RelPermalink publishes the resource to /public, but I don’t want to do that because the resource isn’t fully processed. I don’t see anything like .Path in Resource methods.
Context:
I’m executing a resource as a template and putting the result next to the original resource (same nested directory hierarchy), e.g.
Since I’m looking for the same function/method/whatever, I tried Name. But that only gives me the path “relative to the page bundle” (as the documentation phrases it). So no luck there. Same for .Title. So, there doesn’t really seem to be a way to get the path to the resource without publishing it (yet?).
Are you looking for the path to the original resource, the publication path of an unprocessed resource, or the publication path of a processed resource?