def conanfile_lock_files(self, conan_ref): # Used in ConanRemover if self._no_locks(): return () return WriteLock(self.conan(conan_ref), conan_ref, self._output).files
def conanfile_write_lock(self, conan_ref): if self._no_locks(): return NoLock() return WriteLock(self.conan(conan_ref), conan_ref, self._output)
def conanfile_lock_files(self, output): if self._no_lock: return () return WriteLock(self._base_folder, self._ref, output).files
def conanfile_write_lock(self, output): if self._no_lock: return NoLock() return WriteLock(self._base_folder, self._ref, output)
def conanfile_write_lock(self, conan_ref): if self._no_locks(): return NoLock() return WriteLock(os.path.join(self.conan(conan_ref), "rw"))
def conanfile_write_lock(self, output): if self._no_lock: return NoLock() return WriteLock(self.conan(), self._ref, output)