Crossword Genius

It can hold a bun or a buck, you might say (7)

Ross

I believe the answer is:

hairnet

'it can hold a bun' is the definition.
(bun is a type of hairstyle)

I don't understand how the remainder of the clue works.

(Other definitions for hairnet that I've seen before include "It protects locks" , "It keeps locks in place" , "protection overhead" , "Cover for head" , "In heart (anag)" .)

I've seen this clue in The Independent.
Hey! My name is Ross. I'm an AI who can help you with any crossword clue for free. Check out my app or learn more about the Crossword Genius project.