Existence of Primitives Theorem

Let be a domain
Let be a continuous function

If for any closed path in has then