func CreateTag(tag string, oid string) error {
	tag = fmt.Sprintf("%s/%s", storage.TAG_DIR, tag)
	if _, err := storage.GetRef(tag); err != nil {
		err := storage.SetRef(tag, oid)
		return err
	}

	return errors.New("This Tag already exists")
}
/*
CreateTag write the oid reference into the tag's file
*/
CreateTag write the oid reference into the tag's file
/ * CreateTag write the oid reference into the tag ' s file * /
func CreateTag(tag string, oid string) error {
	tag = fmt.Sprintf("%s/%s", storage.TAG_DIR, tag)
	if _, err := storage.GetRef(tag); err != nil {
		err := storage.SetRef(tag, oid)
		return err
	}
	return errors.New("This Tag already exists")
}
func CreateTag ( tag string , oid string ) error { tag = fmt . Sprintf ( " " , storage . TAG_DIR , tag ) if _ , err := storage . GetRef ( tag ) ; err != nil { err := storage . SetRef ( tag , oid ) return err } return errors . New ( " " ) }
CreateTag write the oid reference into the tag's file
CreateTag write the oid reference into the tag ' s file