Kyle J. McKay wrote:
> That change was made as a result of this feedback:
>
> On Jul 6, 2013, at 17:11, Jonathan Nieder wrote:
>> Kyle McKay wrote:
>>
>>> The temp_is_locked function can be used to determine whether
>>> or not a given name previously passed to temp_acquire is
>>> currently locked.
On Jul 18, 2013, at 11:34, David Rothenberger wrote:
Kyle J. McKay gmail.com> writes:
+sub temp_is_locked {
+ my ($self, $name) = _maybe_self( _);
+ my $temp_fd = \$TEMP_FILEMAP{$name};
+
+ defined $$temp_fd && $$temp_fd->opened && $TEMP_FILES{$$temp_fd}
{locked};
+}
+
=item tem
Kyle J. McKay gmail.com> writes:
> +sub temp_is_locked {
> + my ($self, $name) = _maybe_self( _);
> + my $temp_fd = \$TEMP_FILEMAP{$name};
> +
> + defined $$temp_fd && $$temp_fd->opened &&
> $TEMP_FILES{$$temp_fd}{locked};
> +}
> +
> =item temp_release ( NAME )
>
> =item temp_rel
From: "Kyle J. McKay"
The temp_is_locked function can be used to determine whether
or not a given name previously passed to temp_acquire is
currently locked.
Signed-off-by: Kyle J. McKay
---
perl/Git.pm | 33 +++--
1 file changed, 31 insertions(+), 2 deletions(-)
d
4 matches
Mail list logo