/usr/share/shedskin/lib/fnmatch.hpp is in shedskin 0.9.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /* Copyright 2005-2011 Mark Dufour and contributors; License Expat (See LICENSE) */
#ifndef __FNMATCH_HPP
#define __FNMATCH_HPP
#include "builtin.hpp"
#include "os/path.hpp"
#include "os/__init__.hpp"
#include "re.hpp"
using namespace __shedskin__;
namespace __fnmatch__ {
extern str *const_10, *const_11, *const_12, *const_13, *const_14, *const_15, *const_16, *const_17, *const_18, *const_5, *const_6, *const_7, *const_8, *const_9;
extern dict<str *, __re__::re_object *> *_cache;
extern str *__name__;
__ss_bool fnmatch(str *name, str *pat);
list<str *> *filter(list<str *> *names, str *pat);
__ss_bool fnmatchcase(str *name, str *pat);
str *translate(str *pat);
void __init(void);
} // module namespace
#endif
|