Sha256: 35809661788beb9b35fb0cc54aa115e9fe1896652ccefbe5251e76d053bb09c4

Contents?: true

Size: 1.98 KB

Versions: 16

Compression:

Stored size: 1.98 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:lchown:@docstringIC:YARD::Docstring"êEquivalent to <code>File::chown</code>, but does not follow symbolic
links (so it will change the owner associated with the link, not the
file referenced by the link). Often not available. Returns number
of files in the argument list.
:@objectu:YARD::StubProxyFile.lchown:
@summary0:	@all"6Equivalent to <code>File::chown</code>, but does not follow symbolic
links (so it will change the owner associated with the link, not the
file referenced by the link). Often not available. Returns number
of files in the argument list.



@overload lchown(owner_int, group_int, file_name,..)
  @return [Integer]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;File.lchown;;;IC;	"
;
u;File.lchown;0;
"@return [Integer];[;[o:YARD::Tags::Tag
;
0;0:@types["Integer:
@text":@tag_name"return;0:@parameters[	[:owner_int0[:group_int0[:file_name0[:..0;0:@signature"/lchown(owner_int, group_int, file_name,..);"
overload:@current_file_has_commentsF:@scope:
class;[:@docstring_extra0:@files[["file.c0:@namespaceu;	File:
@path"File.lchown;[:@visibility:public:@source"0/*
 *  call-seq:
 *     file.lchown(owner_int, group_int, file_name,..) => integer
 *  
 *  Equivalent to <code>File::chown</code>, but does not follow symbolic
 *  links (so it will change the owner associated with the link, not the
 *  file referenced by the link). Often not available. Returns number
 *  of files in the argument list.
 *     
 */

static VALUE
rb_file_s_lchown(argc, argv)
    int argc;
    VALUE *argv;
{
    VALUE o, g, rest;
    struct chown_args arg;
    long n;

    rb_secure(2);
    rb_scan_args(argc, argv, "2*", &o, &g, &rest);
    if (NIL_P(o)) {
    arg.owner = -1;
    }
    else {
    arg.owner = NUM2INT(o);
    }
    if (NIL_P(g)) {
    arg.group = -1;
    }
    else {
    arg.group = NUM2INT(g);
    }

    n = apply2files(lchown_internal, rest, &arg);
    return LONG2FIX(n);
}:@source_type:c

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
pry-doc-0.5.1 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.5.0 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.4.6 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.4.5 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.4.4 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/File/lchown_c.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/File/lchown_c.dat