That's just long enough for things that aren't shelf stable to start going bad, depending on local conditions. Bread can mold in a couple days though, in warm and humid places.
So, focus in on shelf-stable or preserved things, whether made in a modern method, (sterile packaging of some sort) or an old fashioned method, (drying, curing, smoking) or just naturally able to keep (nuts, seeds, chocolate, honey).
Someone posted their granola bar recipe, that looked pretty solid. I would certainly not bring a bunch of pasties or a calzone unless I was also bringing a cooler. Then I'd be bringing ingredients and tools and making them on-site just for fun, as I assume I'm now car camping, or at least camping fairly close to my vehicle. If backpacking in, then absolutely not. Ready-to-eat, shelf-stable stuff only, to cut weight and stay efficient. And a pasty or calzone would squish in the backpack and end up gross anyway.