// PutApplicationCounts saves the ApplicationCounts data for a specific project into file store.
PutApplicationCounts saves the ApplicationCounts data for a specific project into file store.
// PutApplicationCounts saves the ApplicationCounts data for a specific project into file store .
func (s *store) PutApplicationCounts(ctx context.Context, projectID string, counts insight.ApplicationCounts) error {
	data, err := json.Marshal(counts)
	if err != nil {
		return err
	}
	return s.filestore.Put(ctx, determineFilePath(projectID), data)
}
func ( s * store ) PutApplicationCounts ( ctx context . Context , projectID string , counts insight . ApplicationCounts ) error { data , err := json . Marshal ( counts ) if err != nil { return err } return s . filestore . Put ( ctx , determineFilePath ( projectID ) , data ) }
PutApplicationCounts saves the ApplicationCounts data for a specific project into file store.
PutApplicationCounts saves the ApplicationCounts data for a specific project into file store .