Searched refs:inferOwner (Results 1 – 9 of 9) sorted by relevance
8 const inferOwner = require('infer-owner')10 inferOwner('/some/cache/folder/file').then(owner => {18 const owner = inferOwner.sync('/some/cache/folder/file')22 inferOwner.clearCache()30 * `inferOwner(path) -> Promise<{ uid, gid }>`35 * `inferOwner(path) -> { uid, gid }`37 Sync form of `inferOwner(path)`.39 * `inferOwner.clearCache()`
9 const inferOwner = path => { function21 return inferOwner(parent).then((owner) => {60 const p = inferOwner(path).then(owner => {
8 const inferOwner = require('infer-owner') constant47 return BB.resolve(inferOwner(cache)).then(owner => {72 const { uid, gid } = inferOwner.sync(cache)99 return BB.resolve(inferOwner(cache)).then(() => {114 inferOwner.sync(cache)
4 const inferOwner = require('infer-owner') constant13 inferOwner(path).then(owner => {
8 const inferOwner = require('infer-owner') constant76 inferOwner(to).then(owner => {
6 const inferOwner = require('infer-owner') constant25 inferOwner(path).then(owner => {
13 const inferOwner = require('infer-owner') constant40 return inferOwner(dest).then(({ uid, gid }) => {
19 const inferOwner = require('infer-owner') constant193 return BB.resolve(inferOwner(gitOpts.cwd).then(owner => {
29 const inferOwner = require('infer-owner') constant227 inferOwner(info.path).then(owner => {