MCPcopy Create free account
hub / github.com/pydio/cells / HashParent

Method HashParent

common/storage/sql/postgres.go:31–33  ·  view source on GitHub ↗
(nameKey string, levelKey string, mpathes ...string)

Source from the content-addressed store, hash-verified

29}
30
31func (p *postgresHelper) HashParent(nameKey string, levelKey string, mpathes ...string) string {
32 return p.Hash(nameKey, "'__###PARENT_HASH###__'", p.ParentMPath(levelKey, mpathes...))
33}
34
35func (p *postgresHelper) MPathOrdering(mm ...string) string {
36 return `(string_to_array(` + p.Concat(mm...) + `,'.'))::int[]`

Callers 1

ApplyOrderedUpdatesMethod · 0.95

Calls 2

HashMethod · 0.95
ParentMPathMethod · 0.95

Tested by

no test coverage detected