If you're properly purging before racking to the keg, you'll be fine. Otherwise....see above. ^
I fill my kegs with star-san, then put CO2 into them via the liquid OUT post so the CO2 bubbles up from the bottom. It creates bubbles filled with, you guessed it, CO2. When I get bubbles coming out of the top, I'll let them fill the underside of the lid, then put the lid into place. Voila! A keg full of only Star-San and bubbles of CO2.
I then switch the CO2 to the IN port, and then push the Star-San out to either another keg or a 5-gallon bucket. When I get to where I'm pushing CO2 instead of liquid out, I'll pull the OUT line off the keg, and then the CO2 line. I'll have a partially-pressurized keg full of only CO2 and a little residual Star-San. I'll then put an OUT QD on the liquid OUT post that is connected to tubing, and use that to blow out the residual Star-San. Before the pressure dies I'll pull the QD off, leaving me with a slightly pressurized keg full of CO2.
Purged! Now ready for racking, half-batch, full batch, doesn't matter.
BTW, if you do something like this, i.e., pushing CO2 into the star-san-filled keg via the OUT post to create bubbles, be judicious in how much pressure you add to create bubbles. Put too much in too fast and star-san will surge out of the open mouth of the keg.
Don't ask me how I know this.
View attachment 622737