220 28220 <316e66e9-764b-40da-bffc-e0ce2ed75ddd@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Jens_=C3=85kerblom?= <akerblom.jens@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Filesystem Library and Standardized Paths
Date: Sun, 11 Sep 2016 08:19:34 -0700 (PDT)
Lines: 85
Approved: news@gmane.org
Message-ID: <316e66e9-764b-40da-bffc-e0ce2ed75ddd@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_48_1727590303.1473607174910"
X-Trace: blaine.gmane.org 1473607191 21163 195.159.176.226 (11 Sep 2016 15:19:51 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 11 Sep 2016 15:19:51 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC2YT3FOXEIBBCHM2W7AKGQEZKM2UQQ@isocpp.org Sun Sep 11 17:19:47 2016
Return-path: <std-proposals+bncBC2YT3FOXEIBBCHM2W7AKGQEZKM2UQQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw0-f200.google.com ([209.85.161.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC2YT3FOXEIBBCHM2W7AKGQEZKM2UQQ@isocpp.org>)
	id 1bj6Xk-0004SY-VM
	for gclcip-std-proposals@m.gmane.org; Sun, 11 Sep 2016 17:19:41 +0200
Original-Received: by mail-yw0-f200.google.com with SMTP id u82sf257376216ywc.0
        for <gclcip-std-proposals@m.gmane.org>; Sun, 11 Sep 2016 08:19:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:subject:mime-version:x-original-sender
         :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=IAl4IlKIChySWq7WKhSyKiff/+PhRqzy8hdt0EeYHIM=;
        b=Yj22VqaDR8vxkLdz4yFOM0xdKECLS70PuYn2o4zaqFL+Ka3VFQeEvopZ4xdKTrsNZx
         hohDnIRFy4VPr0V8MNBfqG8EpBoqTDt06xcHnZOcvr9oyxcD1/ALS+/XjLFSuFJ6JtoI
         0rP9X6tH4vsjvD78rz6oUgirPp3pGRFhtigBCp0sD2/G1De5FPyQT6meWaCdNDcyka9d
         I62DlzHzYP2MFTCRS/vNZIMpqdC539nRA1YdRJ8c17vG8E5LAM68ax1ViHltnoLBAD6q
         gFioVulVxJXtgZGFlXqbBbhGcWbjec2FKwioKdmmZ1HgsqDHe8V/RAuOld0FufEtcyvJ
         Hrmw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:subject:mime-version:x-original-sender
         :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=IAl4IlKIChySWq7WKhSyKiff/+PhRqzy8hdt0EeYHIM=;
        b=aYYLt3BqjbYNM8G43akeUXGJFFDhx4mSpJ51nRIL22qigXrcaci6bVZUw/uAv58SQx
         bc0X2osinNGQlE+hcFCz4iy0LRrd4iCQn/lAxQCMAbk4t+PTa38OO21rc9Kf6ajhh8+Z
         o8rpnzCp8p6Wzvl+e5MDWQkIe4Y42YBhwG7JbsexQ2QLTsMZfoLaqpDLYPKEOrsoNjvs
         d5JfNFMm2lwOTvBDRtT2XhWqhlB3V8XKydxU3BaFwdZ+r2irO1U3Ma84CCu2e3RO3n9u
         IJeW35rTMg4rCzrF4hWgKouTsdiQCvj/W6DumqrhsyTTlXAXNRWBhMlWxJ5JfKwIp5GG
         8FAA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=IAl4IlKIChySWq7WKhSyKiff/+PhRqzy8hdt0EeYHIM=;
        b=FRgvVld8QAHDHAw9jNDgWE1m6zFtGXn0gktwMFhUWpp1aw2pZZOLAGxi4K+HxhZ21n
         FCqZDaF8/jUZpQ/sIpcPvAyCmyEWPjoEjn049Dd3wzSDCm9JZ+a/FY6pL0W9kwV86nBL
         G7pev3onNJKgZp+P7Q/NQ97JzSfGSpiMdhrB1FapUjdCh9WLKGdkrPiKBwoaUszv4myy
         0iOa01xww502aUqa4FRfuTFv7RV5FqXAm+tIDjR3nieJ2GBnGjoHrCDbyvPaP92CXRBS
         VJ94b959LyeyBorl4+t2MdICYj/P1ZPmwKiu0iOC3avZEmyQ4ODUgzz5MFcfDVs7ZMq8
         zYiQ==
X-Gm-Message-State: AE9vXwMkfw//5z1vIbU+CsFWNX8tUvEplJB/+18YkAvqVWFfqgKfPfgLmjHMmI8cgc32XQ==
X-Received: by 10.200.41.168 with SMTP id 37mr11704269qts.26.1473607182145;
        Sun, 11 Sep 2016 08:19:42 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.36.73.34 with SMTP id z34ls2164994ita.12.canary; Sun, 11 Sep
 2016 08:19:36 -0700 (PDT)
X-Received: by 10.36.60.150 with SMTP id m144mr191166ita.1.1473607176277;
        Sun, 11 Sep 2016 08:19:36 -0700 (PDT)
X-Original-Sender: akerblom.jens@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:28220
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/28220>

------=_Part_48_1727590303.1473607174910
Content-Type: multipart/alternative; 
	boundary="----=_Part_49_928330852.1473607174910"

------=_Part_49_928330852.1473607174910
Content-Type: text/plain; charset=UTF-8

Hello there,

I've been looking through the proposed C++17 Filesystem library and thought 
it would be a nice add-on to have common paths. The only path I see that is 
already present is the *std::filesystem::temp_directory_path*. The 
directories of interest (as I see) would be

   - *executable_directory_path*, *installed_directory_path* or maybe a 
   better name, *bundle_directory_path*, directory where the executable is 
   being run / has been installed. Assumed to be read-only.
   - *userdata_directory_path*, directory where current user stores data, 
   "My Documents" on Windows for example. Assume permission required to write 
   and read.
   - *cache_directory_path*, directory to data that persists longer than in 
   *temp_diretory_path*, can be removed by OS if deemed necessary. 
   "Library/Cache" on iOS for example. Assume write and read permission.
   - *appdata_directory_path*, directory where the application can store 
   persistent data not to be shared with other application. 
   "/data/data/<package_name>" on Android for example. Assume write and read 
   permissions.
   
I'm sure there are plenty of other common useful paths you can think of in 
addition to the above.

Is there anything like this already proposed and / or rejected? If not, do 
you think this would be a good extension to the Filesystem Library?

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/316e66e9-764b-40da-bffc-e0ce2ed75ddd%40isocpp.org.

------=_Part_49_928330852.1473607174910
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello there,<br><br>I&#39;ve been looking through the prop=
osed C++17 Filesystem library and thought it would be a nice add-on to have=
 common paths. The only path I see that is already present is the <b>std::f=
ilesystem::temp_directory_path</b>. The directories of interest (as I see) =
would be<br><ul><li><b>executable_directory_path</b>, <b>installed_director=
y_path</b> or maybe a better name, <b>bundle_directory_path</b>, directory =
where the executable is being run / has been installed. Assumed to be read-=
only.<br></li><li><b>userdata_directory_path</b>, directory where current u=
ser stores data, &quot;My Documents&quot; on Windows for example. Assume pe=
rmission required to write and read.<br></li><li><b>cache_directory_path</b=
>, directory to data that persists longer than in <b>temp_diretory_path</b>=
, can be removed by OS if deemed necessary. &quot;Library/Cache&quot; on iO=
S for example. Assume write and read permission.<br></li><li><b>appdata_dir=
ectory_path</b>, directory where the application can store persistent data =
not to be shared with other application. &quot;/data/data/&lt;package_name&=
gt;&quot; on Android for example. Assume write and read permissions.<br></l=
i></ul>I&#39;m sure there are plenty of other common useful paths you can t=
hink of in addition to the above.<br><br>Is there anything like this alread=
y proposed and / or rejected? If not, do you think this would be a good ext=
ension to the Filesystem Library?<br></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/316e66e9-764b-40da-bffc-e0ce2ed75ddd%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/316e66e9-764b-40da-bffc-e0ce2ed75ddd=
%40isocpp.org</a>.<br />

------=_Part_49_928330852.1473607174910--

------=_Part_48_1727590303.1473607174910--

.
